com.mchange.v2.sql
Class SqlUtils

java.lang.Object
  extended by com.mchange.v2.sql.SqlUtils

public final class SqlUtils
extends Object


Field Summary
static String DRIVER_MANAGER_PASSWORD_PROPERTY
           
static String DRIVER_MANAGER_USER_PROPERTY
           
 
Method Summary
static String escapeAsTimestamp(Date date)
           
static String escapeBadSqlPatternChars(String s)
           
static SQLException toSQLException(String msg, String sqlState, Throwable t)
           
static SQLException toSQLException(String msg, Throwable t)
           
static SQLException toSQLException(Throwable t)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DRIVER_MANAGER_USER_PROPERTY

public static final String DRIVER_MANAGER_USER_PROPERTY
See Also:
Constant Field Values

DRIVER_MANAGER_PASSWORD_PROPERTY

public static final String DRIVER_MANAGER_PASSWORD_PROPERTY
See Also:
Constant Field Values
Method Detail

escapeBadSqlPatternChars

public static String escapeBadSqlPatternChars(String s)

escapeAsTimestamp

public static String escapeAsTimestamp(Date date)

toSQLException

public static SQLException toSQLException(Throwable t)

toSQLException

public static SQLException toSQLException(String msg,
                                          Throwable t)

toSQLException

public static SQLException toSQLException(String msg,
                                          String sqlState,
                                          Throwable t)