ORMPU - Type of the persistence unitORMCONFOBJ - Type of the configuration objectpublic interface OrmSpringSupport<ORMPU,ORMCONFOBJ>
ApplicationContext that is configured for this class (if any)| Modifier and Type | Method and Description |
|---|---|
ConfiguredOrmPersistenceUnit<ORMPU,ORMCONFOBJ> |
getConfiguredPersistenceUnit(Object testObject) |
boolean |
isPersistenceUnitConfiguredInSpring(Object testObject) |
boolean isPersistenceUnitConfiguredInSpring(Object testObject)
testObject - The test instance, not nullApplicationContext is associated with the given test object,
and if a persistence unit of the type supported by this interface's implementation is availableConfiguredOrmPersistenceUnit<ORMPU,ORMCONFOBJ> getConfiguredPersistenceUnit(Object testObject)
testObject - The test instance, not nullConfiguredOrmPersistenceUnit that wraps the persistence unit and the
configuration objectCopyright © 2016. All Rights Reserved.