Package google.registry.persistence
Class PersistenceXmlUtility
java.lang.Object
google.registry.persistence.PersistenceXmlUtility
Utility class that provides methods to manipulate persistence.xml file.
-
Method Summary
Modifier and TypeMethodDescriptionstatic com.google.common.collect.ImmutableList
<Class<?>> Returns all managed classes defined in persistence.xml.static org.hibernate.jpa.boot.internal.ParsedPersistenceXmlDescriptor
Returns theParsedPersistenceXmlDescriptor
instance constructed from persistence.xml.
-
Method Details
-
getParsedPersistenceXmlDescriptor
public static org.hibernate.jpa.boot.internal.ParsedPersistenceXmlDescriptor getParsedPersistenceXmlDescriptor()Returns theParsedPersistenceXmlDescriptor
instance constructed from persistence.xml. -
getManagedClasses
Returns all managed classes defined in persistence.xml.
-