public final class SqlUtils extends Object
Modifier and Type | Field and Description |
---|---|
static String |
DRIVER_MANAGER_PASSWORD_PROPERTY |
static String |
DRIVER_MANAGER_USER_PROPERTY |
Modifier and Type | Method and Description |
---|---|
static String |
escapeAsTimestamp(Date date) |
static String |
escapeBadSqlPatternChars(String s) |
static SQLClientInfoException |
toSQLClientInfoException(Throwable t) |
static SQLException |
toSQLException(String msg,
String sqlState,
Throwable t) |
static SQLException |
toSQLException(String msg,
Throwable t) |
static SQLException |
toSQLException(Throwable t) |
public static final String DRIVER_MANAGER_USER_PROPERTY
public static final String DRIVER_MANAGER_PASSWORD_PROPERTY
public static SQLException toSQLException(Throwable t)
public static SQLException toSQLException(String msg, Throwable t)
public static SQLException toSQLException(String msg, String sqlState, Throwable t)
public static SQLClientInfoException toSQLClientInfoException(Throwable t)
Copyright © 2018 com.mchange. All rights reserved.