initialize
void initialize(Connection connection)
throws SQLException
Initializes the connection. This typically involves establishing NTSS (Non-Transactional Session State) outside database transactions, such as NLS parameters, cursor state, PL/SQL package variables, and auto-commit mode. For failover, the connection passed in is usually a new physical connection, although a connection pool or application framework utilizing this can provide the callback uniformly for all checked-out connections.
- Parameters:
connection
- The connection to be initialized.
- Throws:
SQLException