Package fr.paris.lutece.util.jpa
Class JPAPersistenceUnitPostProcessor
java.lang.Object
fr.paris.lutece.util.jpa.JPAPersistenceUnitPostProcessor
- All Implemented Interfaces:
org.springframework.orm.jpa.persistenceunit.PersistenceUnitPostProcessor
public class JPAPersistenceUnitPostProcessor
extends Object
implements org.springframework.orm.jpa.persistenceunit.PersistenceUnitPostProcessor
JPAPersistenceUnitPostProcessor : adds classpath entities to the PersistenceUnitInfo and finds *.orm.xml.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidpostProcessPersistenceUnitInfo(org.springframework.orm.jpa.persistenceunit.MutablePersistenceUnitInfo pui) Scans for *.orm.xml and adds Entites from classpath.
-
Constructor Details
-
JPAPersistenceUnitPostProcessor
public JPAPersistenceUnitPostProcessor()
-
-
Method Details
-
postProcessPersistenceUnitInfo
public void postProcessPersistenceUnitInfo(org.springframework.orm.jpa.persistenceunit.MutablePersistenceUnitInfo pui) Scans for *.orm.xml and adds Entites from classpath.- Specified by:
postProcessPersistenceUnitInfoin interfaceorg.springframework.orm.jpa.persistenceunit.PersistenceUnitPostProcessor- Parameters:
pui- the pui
-