Example usage for Java org.apache.commons.dbutils DbUtils fields, constructors, methods, implement or subclass
The text is from its open source code.
void | close(Connection conn) Close a Connection , avoid closing if null. |
void | close(ResultSet rs) Close a ResultSet , avoid closing if null. |
void | close(Statement stmt) Close a Statement , avoid closing if null. |
void | closeQuietly(Connection conn) Close a Connection , avoid closing if null and hide any SQLExceptions that occur. |
void | closeQuietly(ResultSet rs) Close a ResultSet , avoid closing if null and hide any SQLExceptions that occur. |
void | closeQuietly(Statement stmt) Close a Statement , avoid closing if null and hide any SQLExceptions that occur. |
void | closeQuietly(Connection conn, Statement stmt, ResultSet rs) Close a Connection , Statement and ResultSet . |
void | commitAndClose(Connection conn) Commits a Connection then closes it, avoid closing if null. |
void | commitAndCloseQuietly(Connection conn) Commits a Connection then closes it, avoid closing if null and hide any SQLExceptions that occur. |
boolean | loadDriver(String driverClassName) Loads and registers a database driver class. |
void | rollback(Connection conn) Rollback any changes made on the given connection. |
void | rollbackAndClose(Connection conn) Performs a rollback on the Connection then closes it, avoid closing if null. |
void | rollbackAndCloseQuietly(Connection conn) Performs a rollback on the Connection then closes it, avoid closing if null and hide any SQLExceptions that occur. |