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 ConnectionBundle
public PreparedStatement getStatement(String stmt_name)
getStatement
in interface ConnectionBundle
public void putStatement(String stmt_name, PreparedStatement stmt)
putStatement
in interface ConnectionBundle
public void close() throws SQLException
ClosableResource
close
in interface ClosableResource
SQLException
Copyright © 2018 com.mchange. All rights reserved.