public class SimpleConnectionHandle extends Object implements ConnectionHandle
ConnectionHandle interface,
 containing a given JDBC Connection.| Constructor and Description | 
|---|
SimpleConnectionHandle(Connection connection)
Create a new SimpleConnectionHandle for the given Connection. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
Connection | 
getConnection()
Return the specified Connection as-is. 
 | 
void | 
releaseConnection(Connection con)
This implementation is empty, as we're using a standard
 Connection handle that does not have to be released. 
 | 
String | 
toString()  | 
public SimpleConnectionHandle(Connection connection)
connection - the JDBC Connectionpublic Connection getConnection()
getConnection in interface ConnectionHandlepublic void releaseConnection(Connection con)
releaseConnection in interface ConnectionHandlecon - the JDBC Connection to release