abstract class JdbcTransactionObjectSupport : SavepointManager, SmartTransactionObject
Convenient base class for JDBC-aware transaction objects. Can contain a ConnectionHolder with a JDBC Connection, and implements the SavepointManager interface based on that ConnectionHolder.
Allows for programmatic management of JDBC java.sql.Savepoint. Spring's org.springframework.transaction.support.DefaultTransactionStatus automatically delegates to this, as it autodetects transaction objects which implement the SavepointManager interface.
Author
Juergen Hoeller
Since
1.1
See Also
DataSourceTransactionManager
JdbcTransactionObjectSupport()
Convenient base class for JDBC-aware transaction objects. Can contain a ConnectionHolder with a JDBC Allows for programmatic management of JDBC java.sql.Savepoint. Spring's org.springframework.transaction.support.DefaultTransactionStatus automatically delegates to this, as it autodetects transaction objects which implement the SavepointManager interface. |
open fun createSavepoint(): Any
This implementation creates a JDBC 3.0 Savepoint and returns it. |
|
open fun flush(): Unit |
|
open fun getConnectionHolder(): ConnectionHolder |
|
open fun getPreviousIsolationLevel(): Int |
|
open fun hasConnectionHolder(): Boolean |
|
open fun isSavepointAllowed(): Boolean |
|
open fun releaseSavepoint(savepoint: Any): Unit
This implementation releases the given JDBC 3.0 Savepoint. |
|
open fun rollbackToSavepoint(savepoint: Any): Unit
This implementation rolls back to the given JDBC 3.0 Savepoint. |
|
open fun setConnectionHolder(connectionHolder: ConnectionHolder): Unit |
|
open fun setPreviousIsolationLevel(previousIsolationLevel: Int): Unit |
|
open fun setSavepointAllowed(savepointAllowed: Boolean): Unit |