com.mchange.v2.sql
Class SqlUtils

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

public final class SqlUtils
extends java.lang.Object


Field Summary
static java.lang.String DRIVER_MANAGER_PASSWORD_PROPERTY
           
static java.lang.String DRIVER_MANAGER_USER_PROPERTY
           
 
Method Summary
static java.lang.String escapeAsTimestamp(java.util.Date date)
           
static java.lang.String escapeBadSqlPatternChars(java.lang.String s)
           
static java.sql.SQLException toSQLException(java.lang.String msg, java.lang.String sqlState, java.lang.Throwable t)
           
static java.sql.SQLException toSQLException(java.lang.String msg, java.lang.Throwable t)
           
static java.sql.SQLException toSQLException(java.lang.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 java.lang.String DRIVER_MANAGER_USER_PROPERTY
See Also:
Constant Field Values

DRIVER_MANAGER_PASSWORD_PROPERTY

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

escapeBadSqlPatternChars

public static java.lang.String escapeBadSqlPatternChars(java.lang.String s)

escapeAsTimestamp

public static java.lang.String escapeAsTimestamp(java.util.Date date)

toSQLException

public static java.sql.SQLException toSQLException(java.lang.Throwable t)

toSQLException

public static java.sql.SQLException toSQLException(java.lang.String msg,
                                                   java.lang.Throwable t)

toSQLException

public static java.sql.SQLException toSQLException(java.lang.String msg,
                                                   java.lang.String sqlState,
                                                   java.lang.Throwable t)