Package | Description |
---|---|
javax.persistence.spi |
SPI for Java Persistence providers
|
org.hibernate.jpa.boot.internal | |
org.hibernate.jpa.boot.spi | |
org.hibernate.jpa.internal.util |
Modifier and Type | Method and Description |
---|---|
PersistenceUnitTransactionType |
PersistenceUnitInfo.getTransactionType()
Returns the transaction type of the entity managers created by
the
EntityManagerFactory . |
static PersistenceUnitTransactionType |
PersistenceUnitTransactionType.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PersistenceUnitTransactionType[] |
PersistenceUnitTransactionType.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
PersistenceUnitTransactionType |
PersistenceUnitInfoDescriptor.getTransactionType() |
PersistenceUnitTransactionType |
ParsedPersistenceXmlDescriptor.getTransactionType() |
Modifier and Type | Method and Description |
---|---|
static ParsedPersistenceXmlDescriptor |
PersistenceXmlParser.locateIndividualPersistenceUnit(URL persistenceXmlUrl,
PersistenceUnitTransactionType transactionType,
Map integration)
Parse a specific
persistence.xml with the assumption that it defines a single
persistence-unit. |
static ParsedPersistenceXmlDescriptor |
PersistenceXmlParser.locateNamedPersistenceUnit(URL persistenceXmlUrl,
String name,
PersistenceUnitTransactionType transactionType,
Map integration)
Parse a specific
persistence.xml and return the descriptor for the persistence-unit with matching name |
static Map<String,ParsedPersistenceXmlDescriptor> |
PersistenceXmlParser.parse(URL persistenceXmlUrl,
PersistenceUnitTransactionType transactionType)
Intended only for use by Hibernate tests!
Parses a specific persistence.xml file...
|
static Map<String,ParsedPersistenceXmlDescriptor> |
PersistenceXmlParser.parse(URL persistenceXmlUrl,
PersistenceUnitTransactionType transactionType,
Map integration)
Generic method to parse a specified
persistence.xml and return a Map of descriptors
for all discovered persistence-units keyed by the PU name. |
void |
ParsedPersistenceXmlDescriptor.setTransactionType(PersistenceUnitTransactionType transactionType) |
Modifier and Type | Method and Description |
---|---|
PersistenceUnitTransactionType |
PersistenceUnitDescriptor.getTransactionType() |
Modifier and Type | Method and Description |
---|---|
static EntityManagerFactoryBuilder |
Bootstrap.getEntityManagerFactoryBuilder(URL persistenceXmlUrl,
String persistenceUnitName,
PersistenceUnitTransactionType transactionType,
Map integration)
Intended for use in Hibernate tests
|
Modifier and Type | Method and Description |
---|---|
static PersistenceUnitTransactionType |
PersistenceUnitTransactionTypeHelper.interpretTransactionType(Object value) |
Copyright © 2019 JBoss by Red Hat. All rights reserved.