com.mchange.v1.db.sql
Class ConnectionBundleImpl
java.lang.Object
com.mchange.v1.db.sql.ConnectionBundleImpl
- All Implemented Interfaces:
- ConnectionBundle, ClosableResource
public class ConnectionBundleImpl
- extends Object
- implements ConnectionBundle
ConnectionBundleImpl
public ConnectionBundleImpl(Connection con)
getConnection
public Connection getConnection()
- Specified by:
getConnection
in interface ConnectionBundle
getStatement
public PreparedStatement getStatement(String stmt_name)
- Specified by:
getStatement
in interface ConnectionBundle
putStatement
public void putStatement(String stmt_name,
PreparedStatement stmt)
- Specified by:
putStatement
in interface ConnectionBundle
close
public void close()
throws SQLException
- Description copied from interface:
ClosableResource
- forces the release of any resources that might be
associated with this object.
- Specified by:
close
in interface ClosableResource
- Throws:
SQLException
finalize
public void finalize()
throws Exception
- Overrides:
finalize
in class Object
- Throws:
Exception