Top Fields Constructors Methods
com.mchange.v1.db.sql

public final Class ConnectionUtils

extends Object
Class Inheritance
Imports
java.sql.*, com.mchange.v2.log.*

Field Summary

Modifier and TypeField and Description
private static final MLogger

Constructor Summary

AccessConstructor and Description
private

Method Summary

Modifier and TypeMethod and Description
public static boolean

Returns:

false iff and Exception occurred while trying to close this object.
attemptClose
(Connection con)

public static boolean
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

loggerback to summary
private static final MLogger logger

Constructor Detail

ConnectionUtilsback to summary
private ConnectionUtils()

Method Detail

attemptCloseback to summary
public static boolean attemptClose(Connection con)
Returns:boolean

false iff and Exception occurred while trying to close this object.

attemptRollbackback to summary
public static boolean attemptRollback(Connection con)