public class ConnectionHolder extends ResourceHolderSupport
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) |
Modifier and Type | Method and Description |
---|---|
Connection |
getConnection() |
clear, getDeadline, getTimeToLiveInMillis, getTimeToLiveInSeconds, hasTimeout, isOpen, isRollbackOnly, isSynchronizedWithTransaction, isVoid, released, requested, reset, setRollbackOnly, setSynchronizedWithTransaction, setTimeoutInMillis, setTimeoutInSeconds, unbound
public ConnectionHolder(Connection connection)
public Connection getConnection()