public interface ConnectionLifecycleListener
Modifier and Type | Method and Description |
---|---|
void |
onBorrow(JDBCDataStore store,
Connection cx)
Called when the collection is being borrowed from the connection pool
|
void |
onCommit(JDBCDataStore store,
Connection cx)
Called when the connection comes to a commit
|
void |
onRelease(JDBCDataStore store,
Connection cx)
Called when the collection is being released back to the connection pool
|
void |
onRollback(JDBCDataStore store,
Connection cx)
Called when the connection comes to a rollback
|
void onBorrow(JDBCDataStore store, Connection cx) throws SQLException
SQLException
void onRelease(JDBCDataStore store, Connection cx) throws SQLException
SQLException
void onCommit(JDBCDataStore store, Connection cx) throws SQLException
SQLException
void onRollback(JDBCDataStore store, Connection cx) throws SQLException
SQLException
Copyright © 1996–2023 Geotools. All rights reserved.