Class ConnectionPoolConnection

java.lang.Object
org.attribyte.sql.pool.ConnectionPoolConnection
All Implemented Interfaces:
AutoCloseable, Connection, Wrapper

public class ConnectionPoolConnection extends Object implements Connection
A logical database connection returned to applications from a ConnectionPool.

Wraps a physical Connection managed by a ConnectionPoolSegment. When the application calls close(), the physical connection is returned to the pool rather than being closed, and the connection state (auto-commit, read-only) is reset for the next user.