|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.ning.metrics.goodwill.dao.DAOUtil
public final class DAOUtil
Constructor Summary | |
---|---|
DAOUtil()
|
Method Summary | |
---|---|
static void |
close(Connection connection)
Quietly close the Connection |
static void |
close(Connection connection,
Statement statement)
Quietly close the Connection and Statement. |
static void |
close(Connection connection,
Statement statement,
ResultSet resultSet)
Quietly close the Connection, Statement and ResultSet |
static void |
close(ResultSet resultSet)
Quietly close the ResultSet. |
static void |
close(Statement statement)
Quietly close the Statement |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DAOUtil()
Method Detail |
---|
public static void close(Connection connection)
connection
- The Connection to be closed quietlypublic static void close(Statement statement)
statement
- The Statement to be closed quietlypublic static void close(ResultSet resultSet)
resultSet
- The ResultSet to be closed quietlypublic static void close(Connection connection, Statement statement)
connection
- The Connection to be closed quietlystatement
- The Statement to be closed quietlypublic static void close(Connection connection, Statement statement, ResultSet resultSet)
connection
- The Connection to be closed quietlystatement
- The Statement to be closed quietlyresultSet
- The ResultSet to be closed quietly
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |