Top Fields Constructors Methods
com.mchange.v2.sql

public final Class SqlUtils

extends Object
Class Inheritance
Imports
java.sql.*, com.mchange.v2.log.*, java.util.Date, java.text.DateFormat, .SimpleDateFormat, com.mchange.lang.ThrowableUtils, com.mchange.v2.lang.VersionUtils

Field Summary

Modifier and TypeField and Description
public static final String
public static final String
pack-priv static final MLogger
pack-priv static final DateFormat

Constructor Summary

AccessConstructor and Description
private

Method Summary

Modifier and TypeMethod and Description
public static synchronized String
public static String
public static SQLClientInfoException
public static SQLException
public static SQLException
public static SQLException
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

DRIVER_MANAGER_PASSWORD_PROPERTYback to summary
public static final String DRIVER_MANAGER_PASSWORD_PROPERTY
DRIVER_MANAGER_USER_PROPERTYback to summary
public static final String DRIVER_MANAGER_USER_PROPERTY
loggerback to summary
pack-priv static final MLogger logger
tsdfback to summary
pack-priv static final DateFormat tsdf

Constructor Detail

SqlUtilsback to summary
private SqlUtils()

Method Detail

escapeAsTimestampback to summary
public static synchronized String escapeAsTimestamp(Date date)
escapeBadSqlPatternCharsback to summary
public static String escapeBadSqlPatternChars(String s)
toSQLClientInfoExceptionback to summary
public static SQLClientInfoException toSQLClientInfoException(Throwable t)
toSQLExceptionback to summary
public static SQLException toSQLException(Throwable t)
toSQLExceptionback to summary
public static SQLException toSQLException(String msg, Throwable t)
toSQLExceptionback to summary
public static SQLException toSQLException(String msg, String sqlState, Throwable t)