public class ConnectionBundleImpl extends Object implements ConnectionBundle
| Constructor and Description |
|---|
ConnectionBundleImpl(Connection con) |
| Modifier and Type | Method and Description |
|---|---|
void |
close()
forces the release of any resources that might be
associated with this object.
|
void |
finalize() |
Connection |
getConnection() |
PreparedStatement |
getStatement(String stmt_name) |
void |
putStatement(String stmt_name,
PreparedStatement stmt) |
public ConnectionBundleImpl(Connection con)
public Connection getConnection()
getConnection in interface ConnectionBundlepublic PreparedStatement getStatement(String stmt_name)
getStatement in interface ConnectionBundlepublic void putStatement(String stmt_name, PreparedStatement stmt)
putStatement in interface ConnectionBundlepublic void close()
throws SQLException
ClosableResourceclose in interface ClosableResourceSQLException