Class PersistenceXmlUtility

java.lang.Object
google.registry.persistence.PersistenceXmlUtility

public class PersistenceXmlUtility extends Object
Utility class that provides methods to manipulate persistence.xml file.
  • Method Details

    • getParsedPersistenceXmlDescriptor

      public static org.hibernate.jpa.boot.internal.ParsedPersistenceXmlDescriptor getParsedPersistenceXmlDescriptor()
      Returns the ParsedPersistenceXmlDescriptor instance constructed from persistence.xml.
    • getManagedClasses

      public static com.google.common.collect.ImmutableList<Class<?>> getManagedClasses()
      Returns all managed classes defined in persistence.xml.