Class SimpleConnectionHandle
java.lang.Object
org.springframework.jdbc.datasource.SimpleConnectionHandle
- All Implemented Interfaces:
- ConnectionHandle
Simple implementation of the 
ConnectionHandle interface,
 containing a given JDBC Connection.- Since:
- 1.1
- Author:
- Juergen Hoeller
- 
Constructor SummaryConstructorsConstructorDescriptionSimpleConnectionHandle(Connection connection) Create a new SimpleConnectionHandle for the given Connection.
- 
Method SummaryMethods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.springframework.jdbc.datasource.ConnectionHandlereleaseConnection
- 
Constructor Details- 
SimpleConnectionHandleCreate a new SimpleConnectionHandle for the given Connection.- Parameters:
- connection- the JDBC Connection
 
 
- 
- 
Method Details- 
getConnectionReturn the specified Connection as-is.- Specified by:
- getConnectionin interface- ConnectionHandle
 
- 
toString
 
-