java.lang.Object | |
↳ | org.springframework.orm.jpa.vendor.AbstractJpaVendorAdapter |
Known Direct Subclasses |
Abstract JpaVendorAdapter
implementation that defines common properties,
to be translated into vendor-specific JPA properties by concrete subclasses.
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
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 name of the persistence provider's root package
(e.g.
| |||||||||||
Post-process the EntityManagerFactory after it has been initialized.
| |||||||||||
Specify the target database to operate on, as a value of the
Database enum:
DB2, DERBY, H2, HSQL, INFORMIX, MYSQL, ORACLE, POSTGRESQL, SQL_SERVER, SYBASE
| |||||||||||
Specify the name of the target database to operate on.
| |||||||||||
Set whether to generate DDL after the EntityManagerFactory has been initialized,
creating/updating all relevant tables.
| |||||||||||
Set whether to show SQL in the log (or in the console).
|
Protected Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Return the target database to operate on.
| |||||||||||
Return the name of the target database to operate on.
| |||||||||||
Return whether to generate DDL after the EntityManagerFactory has been initialized
creating/updating all relevant tables.
| |||||||||||
Return whether to show SQL in the log (or in the console).
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
| |||||||||||
From interface
org.springframework.orm.jpa.JpaVendorAdapter
|
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 name of the persistence provider's root package (e.g. "oracle.toplink.essentials"). Will be used for excluding provider classes from temporary class overriding.
Post-process the EntityManagerFactory after it has been initialized.
emf | the EntityManagerFactory to process |
---|
Specify the target database to operate on, as a value of the Database
enum:
DB2, DERBY, H2, HSQL, INFORMIX, MYSQL, ORACLE, POSTGRESQL, SQL_SERVER, SYBASE
Specify the name of the target database to operate on. The supported values are vendor-dependent platform identifiers.
Set whether to generate DDL after the EntityManagerFactory has been initialized, creating/updating all relevant tables.
Note that the exact semantics of this flag depend on the underlying persistence provider. For any more advanced needs, specify the appropriate vendor-specific settings as "jpaProperties".
Set whether to show SQL in the log (or in the console).
For more specific logging configuration, specify the appropriate vendor-specific settings as "jpaProperties".
Return whether to generate DDL after the EntityManagerFactory has been initialized creating/updating all relevant tables.
Return whether to show SQL in the log (or in the console).