|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface JpaProviderSupport
Defines the contract for implementations that implement any provider specific operations that unitils needs
to implement the JpaModule
s functionality.
Method Summary | |
---|---|
void |
assertMappingWithDatabaseConsistent(javax.persistence.EntityManager entityManager,
Object configurationObject)
Checks if the mapping of the JPA entities with the database is still correct for the given EntityManager and provider specific configuration object |
org.springframework.instrument.classloading.LoadTimeWeaver |
getLoadTimeWeaver()
If necessary for this JPA provider, return an instance of spring's LoadTimeWeaver interface, that
will be set on the LocalContainerEntityManagerFactoryBean before creating the EntityManagerFactory |
Object |
getProviderSpecificConfigurationObject(javax.persistence.spi.PersistenceProvider persistenceProvider)
|
org.springframework.orm.jpa.JpaVendorAdapter |
getSpringJpaVendorAdaptor()
|
Method Detail |
---|
void assertMappingWithDatabaseConsistent(javax.persistence.EntityManager entityManager, Object configurationObject)
EntityManager
and provider specific configuration object
entityManager
- Currently active EntityManager
, not nullconfigurationObject
- Provider specific configuration object, not nullorg.springframework.orm.jpa.JpaVendorAdapter getSpringJpaVendorAdaptor()
JpaVendorAdapter
interface for this persistence provider, not nullObject getProviderSpecificConfigurationObject(javax.persistence.spi.PersistenceProvider persistenceProvider)
persistenceProvider
- The JPA PersistenceProvider
that was used for creating the
EntityManagerFactory
, not null
EntityManagerFactory
, not nullorg.springframework.instrument.classloading.LoadTimeWeaver getLoadTimeWeaver()
LoadTimeWeaver
interface, that
will be set on the LocalContainerEntityManagerFactoryBean
before creating the EntityManagerFactory
LoadTimeWeaver
, if necessary for this JPA provider, null otherwise
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |