public class SimpleConnectionHandle extends java.lang.Object implements ConnectionHandle
ConnectionHandle interface,
containing a given JDBC Connection.| Constructor and Description |
|---|
SimpleConnectionHandle(java.sql.Connection connection)
Create a new SimpleConnectionHandle for the given Connection.
|
| Modifier and Type | Method and Description |
|---|---|
java.sql.Connection |
getConnection()
Return the specified Connection as-is.
|
java.lang.String |
toString() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitreleaseConnectionpublic SimpleConnectionHandle(java.sql.Connection connection)
connection - the JDBC Connectionpublic java.sql.Connection getConnection()
getConnection in interface ConnectionHandlepublic java.lang.String toString()
toString in class java.lang.Object