org.dspace.checker
Class DAOSupport
java.lang.Object
org.dspace.checker.DAOSupport
- Direct Known Subclasses:
- BitstreamInfoDAO, ChecksumHistoryDAO, ChecksumResultDAO, ReporterDAO
public class DAOSupport
- extends Object
Database Helper Class to cleanup database resources
- Author:
- Jim Downing, Grace Carpenter, Nathan Sarr
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DAOSupport
public DAOSupport()
cleanup
protected void cleanup(Statement stmt,
Connection conn)
- Utility method that cleans up the statement and connection.
- Parameters:
stmt - A prepared statement to close.conn - Corresponding connection to close.
cleanup
protected void cleanup(Statement stmt,
Connection conn,
ResultSet rs)
- Utility method that cleans up the statement and connection.
- Parameters:
stmt - A prepared statement to close.conn - Corresponding connection to close.rs - Result set to close
cleanup
protected void cleanup(Statement stmt)
cleanup
protected void cleanup(Connection conn)
Copyright © 2009 The DSpace Foundation. All Rights Reserved.