public class DAOSupport extends Object
| Constructor and Description |
|---|
DAOSupport() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
cleanup(Connection conn) |
protected void |
cleanup(Statement stmt) |
protected void |
cleanup(Statement stmt,
Connection conn)
Utility method that cleans up the statement and connection.
|
protected void |
cleanup(Statement stmt,
Connection conn,
ResultSet rs)
Utility method that cleans up the statement and connection.
|
protected void cleanup(Statement stmt, Connection conn)
stmt - A prepared statement to close.conn - Corresponding connection to close.protected void cleanup(Statement stmt, Connection conn, ResultSet rs)
stmt - A prepared statement to close.conn - Corresponding connection to close.rs - Result set to closeprotected void cleanup(Statement stmt)
protected void cleanup(Connection conn)
Copyright © 2015 DuraSpace. All Rights Reserved.