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 Constructor Description JPAPersistenceUnitPostProcessor()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidpostProcessPersistenceUnitInfo(org.springframework.orm.jpa.persistenceunit.MutablePersistenceUnitInfo pui)Scans for *.orm.xml and adds Entites from classpath.
-
-
-
Method Detail
-
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
-
-