Oracle Fusion Middleware
Oracle WebLogic Server API Reference
11g Release 1 (10.3.6)

Part Number E13941-06

oracle.ucp.jdbc
Interface ConnectionInitializationCallback


public interface ConnectionInitializationCallback

API that is invoked at every connection check out from the pool as well as at each successful reconnect from a recoverable error at replay.


Method Summary
 void initialize(Connection connection)
          Invoked at every connection check out from the pool as well as each successful reconnect following a recoverable error at replay.
 

Method Detail

initialize

void initialize(Connection connection)
                throws SQLException
Invoked at every connection check out from the pool as well as each successful reconnect following a recoverable error at replay. Using the same callback at run time and replay ensures that exactly the same initialzation that was used when the original session was established, is re-established at runtime. It is the implementer of the callback's responsibility to ensure that this is the case. If the callback invocation fails, replay is disabled on that connection.

Throws:
SQLException

Copyright 1996, 2011, Oracle and/or its affiliates. All rights reserved. Oracle is a registered trademark of Oracle Corporation and/or its affiliates. Other names may be trademarks of their respective owners.

Oracle Fusion Middleware
Oracle WebLogic Server API Reference
11g Release 1 (10.3.6)

Part Number E13941-06