org.springframework.jdbc.datasource
Class ConnectionHolder
java.lang.Object
org.springframework.transaction.support.ResourceHolderSupport
org.springframework.jdbc.datasource.ConnectionHolder
- public class ConnectionHolder
- extends ResourceHolderSupport
Connection holder, wrapping a JDBC Connection.
Features rollback-only support for nested JDBC transactions.
DataSourceTransactionManager binds instances of this class
to the thread, for a given DataSource.
Note: This is an SPI class, not intended to be used by applications.
- Since:
- 06.05.2003
- Author:
- Juergen Hoeller
- See Also:
DataSourceTransactionManager
,
DataSourceTransactionObject
,
DataSourceUtils
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ConnectionHolder
public ConnectionHolder(java.sql.Connection connection)
getConnection
public java.sql.Connection getConnection()
Copyright (C) 2003-2004 The Spring Framework Project.