T
- is the type of object that will be returned.public abstract class GcConnectionCallback<T>
extends java.lang.Object
Constructor and Description |
---|
GcConnectionCallback() |
public abstract T callback(java.sql.Connection connection)
Get access to the database connection. If no exception are thrown, the session will be automatically committed.
connection
- is the connection access.