|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.atlassian.confluence.util.SQLUtils
public final class SQLUtils
Contains a variety of functions for handling SQL Connections and Queries.
Method Summary | |
---|---|
static void |
closeConnectionQuietly(java.sql.Connection c)
Closes a connection without logging an error. |
static void |
closeResultSetQuietly(java.sql.ResultSet s)
Closes a ResultSet, ignoring errors. |
static void |
closeStatementQuietly(java.sql.Statement s)
Closes a Statement, ignoring errors. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static void closeConnectionQuietly(java.sql.Connection c)
c
- connection to closepublic static void closeStatementQuietly(java.sql.Statement s)
s
- Statement to closepublic static void closeResultSetQuietly(java.sql.ResultSet s)
s
- ResultSet to close
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |