|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.atlassian.confluence.util.SQLUtils
public final class SQLUtils
Contains a variety of functions for handling SQL Connections and Queries.
Method Summary | |
---|---|
static void |
closeConnectionQuietly(Connection c)
Closes a connection without logging an error. |
static void |
closeResultSetQuietly(ResultSet s)
Closes a ResultSet, ignoring errors. |
static void |
closeStatementQuietly(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(Connection c)
c
- connection to closepublic static void closeStatementQuietly(Statement s)
s
- Statement to closepublic static void closeResultSetQuietly(ResultSet s)
s
- ResultSet to close
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |