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.
|
String |
toString() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
releaseConnection
public SimpleConnectionHandle(Connection connection)
connection
- the JDBC Connectionpublic Connection getConnection()
getConnection
in interface ConnectionHandle