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
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
onCheckOut
(Connection c, String parentDataSourceIdentityToken) Called immediately before a Connection is made available to a client upon checkout.Methods inherited from class com.mchange.v2.c3p0.AbstractConnectionCustomizer
extensionsForToken, onAcquire, onCheckIn, onDestroy
-
Constructor Details
-
InitSqlConnectionCustomizer
public InitSqlConnectionCustomizer()
-
-
Method Details
-
onCheckOut
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:
Exception
-