public class JdbcUtils extends Object
Constructor and Description |
---|
JdbcUtils() |
Modifier and Type | Method and Description |
---|---|
static void |
closeConnection(Connection conn,
org.slf4j.Logger logger) |
static void |
closePreparedStatement(PreparedStatement stmt,
org.slf4j.Logger logger) |
static boolean |
tableExists(String tableName,
Connection conn) |
public static void closeConnection(Connection conn, org.slf4j.Logger logger)
public static void closePreparedStatement(PreparedStatement stmt, org.slf4j.Logger logger)
public static boolean tableExists(String tableName, Connection conn) throws SQLException
SQLException
Copyright © 2006–2016 The Apache Software Foundation. All rights reserved.