public final class SQLUtils extends Object
Modifier and Type | Method and Description |
---|---|
static void |
closeConnectionQuietly(Connection c)
Closes a connection without logging an error.
|
static void |
closeResultSetQuietly(ResultSet s)
Closes a ResultSet, ignoring errors.
|
static void |
closeStatementQuietly(Statement s)
Closes a Statement, ignoring errors.
|
public static void closeConnectionQuietly(Connection c)
c
- connection to closepublic static void closeStatementQuietly(Statement s)
s
- Statement to closepublic static void closeResultSetQuietly(ResultSet s)
s
- ResultSet to closeCopyright © 2003–2021 Atlassian. All rights reserved.