Uses of Enum Class
jakarta.persistence.PersistenceUnitTransactionType
Packages that use PersistenceUnitTransactionType
Package
Description
Jakarta Persistence is the API for the management for persistence and object/relational mapping.
SPI for Jakarta Persistence providers
-
Uses of PersistenceUnitTransactionType in jakarta.persistence
Subclasses with type arguments of type PersistenceUnitTransactionType in jakarta.persistenceModifier and TypeClassDescriptionenumEnumerates the possible approaches to transaction management in Jakarta Persistence.Methods in jakarta.persistence that return PersistenceUnitTransactionTypeModifier 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.Methods in jakarta.persistence with parameters of type PersistenceUnitTransactionTypeModifier and TypeMethodDescriptionPersistenceConfiguration.transactionType(PersistenceUnitTransactionType transactionType) Specify the transaction type for the persistence unit. -
Uses of PersistenceUnitTransactionType in jakarta.persistence.spi
Methods in jakarta.persistence.spi that return PersistenceUnitTransactionTypeModifier and TypeMethodDescriptionPersistenceUnitInfo.getTransactionType()Returns the transaction type of the entity managers created by theEntityManagerFactory.