public final class PersistenceXmlLoader extends Object
Modifier and Type | Class and Description |
---|---|
static class |
PersistenceXmlLoader.ErrorLogger |
Modifier and Type | Method and Description |
---|---|
static List<PersistenceMetadata> |
deploy(URL url,
Map overrides,
EntityResolver resolver)
Method used by JBoss AS 4.0.5 for parsing
|
static List<PersistenceMetadata> |
deploy(URL url,
Map overrides,
EntityResolver resolver,
javax.persistence.spi.PersistenceUnitTransactionType defaultTransactionType)
Method used by JBoss EJB3 (4.2 and above) for parsing
Object used by Hibernate OGM as well, consider this some kind of exposed service at the SPI level
|
static javax.persistence.spi.PersistenceUnitTransactionType |
getTransactionType(String elementContent) |
public static List<PersistenceMetadata> deploy(URL url, Map overrides, EntityResolver resolver) throws Exception
Exception
public static List<PersistenceMetadata> deploy(URL url, Map overrides, EntityResolver resolver, javax.persistence.spi.PersistenceUnitTransactionType defaultTransactionType) throws Exception
Exception
public static javax.persistence.spi.PersistenceUnitTransactionType getTransactionType(String elementContent)
Copyright © 2002-2015 Red Hat Middleware, LLC. All Rights Reserved