Class JPAPersistenceUnitPostProcessor

  • All Implemented Interfaces:
    org.springframework.orm.jpa.persistenceunit.PersistenceUnitPostProcessor

    public class JPAPersistenceUnitPostProcessor
    extends java.lang.Object
    implements org.springframework.orm.jpa.persistenceunit.PersistenceUnitPostProcessor
    JPAPersistenceUnitPostProcessor : adds classpath entities to the PersistenceUnitInfo and finds *.orm.xml.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void postProcessPersistenceUnitInfo​(org.springframework.orm.jpa.persistenceunit.MutablePersistenceUnitInfo pui)
      Scans for *.orm.xml and adds Entites from classpath.
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • JPAPersistenceUnitPostProcessor

        public JPAPersistenceUnitPostProcessor()
    • Method Detail

      • postProcessPersistenceUnitInfo

        public void postProcessPersistenceUnitInfo​(org.springframework.orm.jpa.persistenceunit.MutablePersistenceUnitInfo pui)
        Scans for *.orm.xml and adds Entites from classpath.
        Specified by:
        postProcessPersistenceUnitInfo in interface org.springframework.orm.jpa.persistenceunit.PersistenceUnitPostProcessor
        Parameters:
        pui - the pui