com.bstek.dorado.console.jdbc
public abstract class JdbcUtils extends java.lang.Object
| Constructor and Description |
|---|
JdbcUtils() |
| Modifier and Type | Method and Description |
|---|---|
static void |
closeConnection(java.sql.Connection con)
Close the given JDBC Connection and ignore any thrown exception.
|
static void |
closeResultSet(java.sql.ResultSet rs)
Close the given JDBC ResultSet and ignore any thrown exception.
|
static void |
closeStatement(java.sql.Statement stmt)
Close the given JDBC Statement and ignore any thrown exception.
|
public static void closeConnection(java.sql.Connection con)
con - the JDBC Connection to close (may be null)public static void closeStatement(java.sql.Statement stmt)
stmt - the JDBC Statement to close (may be null)public static void closeResultSet(java.sql.ResultSet rs)
rs - the JDBC ResultSet to close (may be null)Copyright © 2001-2011 www.BSTEK.com All Rights Reserved.