@Immutable public final class PersistenceXmlUtils extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
PATH_PERSISTENCE_XML
The JPA configuration file relative to the classpath
|
static String |
PERSISTENCE_NAMESPACE_URI |
| Modifier and Type | Method and Description |
|---|---|
static void |
checkPersistenceXMLValidity()
Read all "META-INF/persistence.xml" files in the class path and check
if the referenced classes are in the classpath.
|
public static final String PATH_PERSISTENCE_XML
public static final String PERSISTENCE_NAMESPACE_URI
public static void checkPersistenceXMLValidity()
IllegalStateException - in case of an errorCopyright © 2006–2015 phloc systems. All rights reserved.