@Deprecated public class ConnectionHolder extends ResourceHolderSupport
Connection
.
CciLocalTransactionManager
binds instances of this class to the thread,
for a given ConnectionFactory
.
Note: This is an SPI class, not intended to be used by applications.
CciLocalTransactionManager
,
ConnectionFactoryUtils
Constructor and Description |
---|
ConnectionHolder(Connection connection)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
Connection |
getConnection()
Deprecated.
|
clear, getDeadline, getTimeToLiveInMillis, getTimeToLiveInSeconds, hasTimeout, isOpen, isRollbackOnly, isSynchronizedWithTransaction, isVoid, released, requested, reset, resetRollbackOnly, setRollbackOnly, setSynchronizedWithTransaction, setTimeoutInMillis, setTimeoutInSeconds, unbound
public ConnectionHolder(Connection connection)
public Connection getConnection()