java.lang.Objectorg.springframework.transaction.support.ResourceHolderSupport
org.springframework.jdbc.datasource.ConnectionHolder
All Implemented Interfaces:
ResourceHolder
Inherits rollback-only support for nested JDBC transactions and reference count functionality from the base class.
Note: This is an SPI class, not intended to be used by applications.
Juergen - Hoeller06.05.2003 - | Field Summary | ||
|---|---|---|
| public static final String | SAVEPOINT_NAME_PREFIX | |
| Constructor: |
|---|
|
|
|
| Method from org.springframework.jdbc.datasource.ConnectionHolder Summary: |
|---|
| clear, createSavepoint, getConnection, getConnectionHandle, hasConnection, isTransactionActive, released, setConnection, setTransactionActive, supportsSavepoints |
| Methods from org.springframework.transaction.support.ResourceHolderSupport: |
|---|
| clear, getDeadline, getTimeToLiveInMillis, getTimeToLiveInSeconds, hasTimeout, isOpen, isRollbackOnly, isSynchronizedWithTransaction, isVoid, released, requested, reset, setRollbackOnly, setSynchronizedWithTransaction, setTimeoutInMillis, setTimeoutInSeconds, unbound |
| Methods from java.lang.Object: |
|---|
| equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method from org.springframework.jdbc.datasource.ConnectionHolder Detail: |
|---|
|
|
This will be the same Connection until |
|
|
|
This is necessary for ConnectionHandles that expect "Connection borrowing", where each returned Connection is only temporarily leased and needs to be returned once the data operation is done, to make the Connection available for other operations within the same transaction. This is the case with JDO 2.0 DataStoreConnections, for example. |
null.
Used for releasing the Connection on suspend (with a |
|
|