|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.bm.utils.SQLUtils
public final class SQLUtils
Untility class for SQL operations.
| Method Summary | |
|---|---|
static void |
cleanup(java.sql.Connection con)
Close the resources. |
static void |
cleanup(java.sql.Connection con,
java.sql.PreparedStatement prst)
Close the resources. |
static void |
cleanup(java.sql.Connection con,
java.sql.PreparedStatement prst,
java.sql.ResultSet rs)
Close the resources. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static void cleanup(java.sql.Connection con,
java.sql.PreparedStatement prst,
java.sql.ResultSet rs)
con - -connectionprst - -
prepared statementrs - -
result setpublic static void cleanup(java.sql.Connection con)
con - -connection
public static void cleanup(java.sql.Connection con,
java.sql.PreparedStatement prst)
con - -connectionprst - -
prepared statement
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||