Package com.mchange.v2.c3p0.example
Class InitSqlConnectionCustomizer
- java.lang.Object
-
- com.mchange.v2.c3p0.AbstractConnectionCustomizer
-
- com.mchange.v2.c3p0.example.InitSqlConnectionCustomizer
-
- All Implemented Interfaces:
ConnectionCustomizer
public class InitSqlConnectionCustomizer extends AbstractConnectionCustomizer
-
-
Constructor Summary
Constructors Constructor Description InitSqlConnectionCustomizer()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
onCheckOut(java.sql.Connection c, java.lang.String parentDataSourceIdentityToken)
Called immediately before a Connection is made available to a client upon checkout.-
Methods inherited from class com.mchange.v2.c3p0.AbstractConnectionCustomizer
equals, extensionsForToken, hashCode, onAcquire, onCheckIn, onDestroy
-
-
-
-
Method Detail
-
onCheckOut
public void onCheckOut(java.sql.Connection c, java.lang.String parentDataSourceIdentityToken) throws java.lang.Exception
Description copied from interface:ConnectionCustomizer
Called immediately before a Connection is made available to a client upon checkout.- Specified by:
onCheckOut
in interfaceConnectionCustomizer
- Overrides:
onCheckOut
in classAbstractConnectionCustomizer
- Throws:
java.lang.Exception
-
-