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