Skip navigation links

Oracle Fusion Middleware
Java API Reference for Oracle WebLogic Server
12c (12.2.1)

Part Number E55141-01
P4 Change 1723563 on 2015/10/09


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
abstract  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

Skip navigation links

Copyright 1996, 2015, 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
Java API Reference for Oracle WebLogic Server
12c (12.2.1)

Part Number E55141-01
P4 Change 1723563 on 2015/10/09