|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.springframework.orm.jpa.persistenceunit.DefaultPersistenceUnitManager
org.springframework.data.jpa.support.MergingPersistenceUnitManager
public class MergingPersistenceUnitManager
Extends DefaultPersistenceUnitManager to merge configurations of one persistence unit residing in multiple
persistence.xml files into one. This is necessary to allow the declaration of entities in seperate modules.
http://jira.springframework.org/browse/SPR-2598| Field Summary |
|---|
| Fields inherited from class org.springframework.orm.jpa.persistenceunit.DefaultPersistenceUnitManager |
|---|
DEFAULT_PERSISTENCE_XML_LOCATION, ORIGINAL_DEFAULT_PERSISTENCE_UNIT_NAME, ORIGINAL_DEFAULT_PERSISTENCE_UNIT_ROOT_LOCATION |
| Constructor Summary | |
|---|---|
MergingPersistenceUnitManager()
|
|
| Method Summary | |
|---|---|
protected boolean |
isPersistenceUnitOverrideAllowed()
|
protected void |
postProcessPersistenceUnitInfo(org.springframework.orm.jpa.persistenceunit.MutablePersistenceUnitInfo pui)
|
| Methods inherited from class org.springframework.orm.jpa.persistenceunit.DefaultPersistenceUnitManager |
|---|
afterPropertiesSet, getDataSourceLookup, getDefaultDataSource, getLoadTimeWeaver, getPersistenceUnitInfo, getPersistenceUnitPostProcessors, obtainDefaultPersistenceUnitInfo, obtainPersistenceUnitInfo, preparePersistenceUnitInfos, setDataSourceLookup, setDataSources, setDefaultDataSource, setDefaultPersistenceUnitName, setDefaultPersistenceUnitRootLocation, setLoadTimeWeaver, setMappingResources, setPackagesToScan, setPersistenceUnitPostProcessors, setPersistenceXmlLocation, setPersistenceXmlLocations, setResourceLoader |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public MergingPersistenceUnitManager()
| Method Detail |
|---|
protected void postProcessPersistenceUnitInfo(org.springframework.orm.jpa.persistenceunit.MutablePersistenceUnitInfo pui)
postProcessPersistenceUnitInfo in class org.springframework.orm.jpa.persistenceunit.DefaultPersistenceUnitManagerprotected boolean isPersistenceUnitOverrideAllowed()
isPersistenceUnitOverrideAllowed in class org.springframework.orm.jpa.persistenceunit.DefaultPersistenceUnitManager
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||