Java org.springframework.jdbc.datasource DataSourceTransactionManager fields, constructors, methods, implement or subclass

Example usage for Java org.springframework.jdbc.datasource DataSourceTransactionManager fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for org.springframework.jdbc.datasource DataSourceTransactionManager.

The text is from its open source code.

Subclass

org.springframework.jdbc.datasource.DataSourceTransactionManager has subclasses.
Click this link to see all its subclasses.

Constructor

DataSourceTransactionManager(DataSource dataSource)
Create a new DataSourceTransactionManager instance.
DataSourceTransactionManager()
Create a new DataSourceTransactionManager instance.

Method

voidafterPropertiesSet()
voidcommit(TransactionStatus status)
This implementation of commit handles participating in existing transactions and programmatic rollback requests.
DataSourcegetDataSource()
Return the JDBC DataSource that this instance manages transactions for.
TransactionStatusgetTransaction(@Nullable TransactionDefinition definition)
This implementation handles propagation behavior.
voidrollback(TransactionStatus status)
This implementation of rollback handles participating in existing transactions.
voidsetDataSource(@Nullable DataSource dataSource)
Set the JDBC DataSource that this instance should manage transactions for.
voidsetDefaultTimeout(int defaultTimeout)
Specify the default timeout that this transaction manager should apply if there is no timeout specified at the transaction level, in seconds.
voidsetTransactionSynchronizationName(String constantName)
Set the transaction synchronization by the name of the corresponding constant in this class, e.g.