Java org.springframework.orm.jpa JpaTransactionManager fields, constructors, methods, implement or subclass

Example usage for Java org.springframework.orm.jpa JpaTransactionManager fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for org.springframework.orm.jpa JpaTransactionManager.

The text is from its open source code.

Subclass

org.springframework.orm.jpa.JpaTransactionManager has subclasses.
Click this link to see all its subclasses.

Constructor

JpaTransactionManager()
Create a new JpaTransactionManager instance.
JpaTransactionManager(EntityManagerFactory emf)
Create a new JpaTransactionManager instance.

Method

voidafterPropertiesSet()
Eagerly initialize the JPA dialect, creating a default one for the specified EntityManagerFactory if none set.
EntityManagerFactorygetEntityManagerFactory()
Return the EntityManagerFactory that this instance should manage transactions for.
TransactionStatusgetTransaction(@Nullable TransactionDefinition definition)
This implementation handles propagation behavior.
voidsetDataSource(@Nullable DataSource dataSource)
Set the JDBC DataSource that this instance should manage transactions for.
voidsetEntityManagerFactory(@Nullable EntityManagerFactory emf)
Set the EntityManagerFactory that this instance should manage transactions for.
voidsetJpaDialect(@Nullable JpaDialect jpaDialect)
Set the JPA dialect to use for this transaction manager.
voidsetJpaPropertyMap(@Nullable Map jpaProperties)
Specify JPA properties as a Map, to be passed into EntityManagerFactory.createEntityManager(Map) (if any).
voidsetPersistenceUnitName(@Nullable String persistenceUnitName)
Set the name of the persistence unit to manage transactions for.
voidsetTransactionSynchronization(int transactionSynchronization)
Set when this transaction manager should activate the thread-bound transaction synchronization support.
StringtoString()
Returns a string representation of the object.