Uses of Enum Class
jakarta.persistence.PersistenceUnitTransactionType
Package
Description
Jakarta Persistence is the API for the management for persistence and object/relational mapping.
-
Uses of PersistenceUnitTransactionType in jakarta.persistence
Modifier and TypeMethodDescriptionEntityManagerFactory.getTransactionType()
The type of transaction management used by this persistence unit, either resource-local transaction management, or JTA.PersistenceConfiguration.transactionType()
The transaction type.Returns the enum constant of this class with the specified name.static PersistenceUnitTransactionType[]
PersistenceUnitTransactionType.values()
Returns an array containing the constants of this enum class, in the order they are declared.Modifier and TypeMethodDescriptionPersistenceConfiguration.transactionType
(PersistenceUnitTransactionType transactionType) Specify the transaction type for the persistence unit.