|
ProgramixGenericLib v5.0.1 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.programix.sql.JDBCTools
public class JDBCTools
Method Summary | |
---|---|
static void |
closeQuietly(Connection con)
Closes the specified Connection and suppresses any SQLException's that may be thrown. |
static void |
closeQuietly(Connection con,
Statement stmt)
Closes the Statement and Connection [in that order]. |
static void |
closeQuietly(Connection con,
Statement stmt,
ResultSet rs)
Closes the ResultSet, Statement, and Connection [in that order]. |
static void |
closeQuietly(ResultSet rs)
Closes the specified ResultSet and suppresses any SQLException's that may be thrown. |
static void |
closeQuietly(Statement stmt)
Closes the specified Statement and suppresses any SQLException's that may be thrown. |
static void |
closeQuietly(Statement stmt,
ResultSet rs)
Closes the ResultSet and Statement [in that order]. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static void closeQuietly(Connection con)
public static void closeQuietly(Statement stmt)
Statement
, PreparedStatement
,
and CallableStatement
.
public static void closeQuietly(ResultSet rs)
public static void closeQuietly(Connection con, Statement stmt, ResultSet rs)
closeQuietly(rs); closeQuietly(stmt); closeQuietly(con);
public static void closeQuietly(Connection con, Statement stmt)
closeQuietly(stmt); closeQuietly(con);
public static void closeQuietly(Statement stmt, ResultSet rs)
closeQuietly(rs); closeQuietly(stmt);
|
ProgramixGenericLib v5.0.1 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |