Top Fields Constructors Methods
com.mchange.v2.c3p0.example

public Class InitSqlConnectionCustomizer

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

Field Summary

Modifier and TypeField and Description
pack-priv static final MLogger

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
private String
getInitSql(String parentDataSourceIdentityToken)

public void
onCheckOut(Connection c, String parentDataSourceIdentityToken)

Overrides com.mchange.v2.c3p0.AbstractConnectionCustomizer.onCheckOut.

Implements com.mchange.v2.c3p0.ConnectionCustomizer.onCheckOut.

Called immediately before a Connection is made available to a client upon checkout.

Inherited from com.mchange.v2.c3p0.AbstractConnectionCustomizer:
equalsextensionsForTokenhashCodeonAcquireonCheckInonDestroy

Field Detail

loggerback to summary
pack-priv static final MLogger logger

Constructor Detail

InitSqlConnectionCustomizerback to summary
public InitSqlConnectionCustomizer()

Method Detail

getInitSqlback to summary
private String getInitSql(String parentDataSourceIdentityToken)
onCheckOutback to summary
public void onCheckOut(Connection c, String parentDataSourceIdentityToken) throws Exception

Overrides com.mchange.v2.c3p0.AbstractConnectionCustomizer.onCheckOut.

Implements com.mchange.v2.c3p0.ConnectionCustomizer.onCheckOut.

Doc from com.mchange.v2.c3p0.ConnectionCustomizer.onCheckOut.

Called immediately before a Connection is made available to a client upon checkout.