org.springframework.orm.jpa.JpaVendorAdapter |
Known Indirect Subclasses |
SPI interface that allows to plug in vendor-specific behavior into Spring's EntityManagerFactory creators. Serves as single configuration point for all vendor-specific properties.
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Return the vendor-specific EntityManagerFactory interface
that the EntityManagerFactory proxy is supposed to implement.
| |||||||||||
Return the vendor-specific EntityManager interface
that this provider's EntityManagers will implement.
| |||||||||||
Return the vendor-specific JpaDialect implementation for this
provider, or
null if there is none. | |||||||||||
Return a Map of vendor-specific JPA properties,
typically based on settings in this JpaVendorAdapter instance.
| |||||||||||
Return the vendor-specific persistence provider.
| |||||||||||
Return the name of the persistence provider's root package
(e.g.
| |||||||||||
Optional callback for post-processing the native EntityManagerFactory
before active use.
|
Return the vendor-specific EntityManagerFactory interface that the EntityManagerFactory proxy is supposed to implement.
If the provider does not offer any EntityManagerFactory extensions, the adapter should simply return the standard javax.persistence.EntityManagerFactory class here.
Return the vendor-specific EntityManager interface that this provider's EntityManagers will implement.
If the provider does not offer any EntityManager extensions, the adapter should simply return the standard javax.persistence.EntityManager class here.
Return the vendor-specific JpaDialect implementation for this
provider, or null
if there is none.
Return a Map of vendor-specific JPA properties, typically based on settings in this JpaVendorAdapter instance.
Note that there might be further JPA properties defined on the EntityManagerFactory bean, which might potentially override individual JPA property values specified here.
null
or an empty Map
if there are no such properties to exposeReturn the vendor-specific persistence provider.
Return the name of the persistence provider's root package (e.g. "oracle.toplink.essentials"). Will be used for excluding provider classes from temporary class overriding.
Optional callback for post-processing the native EntityManagerFactory before active use.
This can be used for triggering vendor-specific initialization processes. While this is not expected to be used for most providers, it is included here as a general extension hook.