public final class JdbcUtils
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
static void |
closeSilent(java.sql.Connection con)
Silently closes a connection.
|
static void |
closeSilent(java.sql.ResultSet rs)
Silently closes a result set.
|
static void |
closeSilent(java.sql.Statement s)
Silently closes a statement.
|
public static void closeSilent(java.sql.Connection con)
con
- connection to close. Nulls allowed.public static void closeSilent(java.sql.Statement s)
s
- statement to close. Nulls allowed.public static void closeSilent(java.sql.ResultSet rs)
rs
- result set to close. Nulls allowed.Copyright © Copyright 2006-2019 The Scriptella Project Team.