public class FailoverablePooledConnectionHelper extends Object
| Constructor | Description |
|---|---|
FailoverablePooledConnectionHelper() |
| Modifier and Type | Method | Description |
|---|---|---|
static void |
abortOracleConnection(Connection oconn) |
|
static boolean |
attachServerConnection(Connection oconn) |
Attach the connection before using the connection
Invoked for all Oracle Jdbc Connections
|
static void |
detachServerConnection(Connection oconn,
String tag) |
Detach the connection before storing the connection
Invoked for all Oracle Jdbc Connections
|
static int |
getDatabaseVersion(Connection oconn) |
|
static int |
getInstanceNumber(Connection connection) |
|
static Date |
getInstanceStartTime(String timestampString) |
|
protected static oracle.ucp.jdbc.oracle.FailoverablePooledConnectionHelper.InvocationVector |
getInvocationVector(Connection oracleConn) |
|
static Properties |
getSessionInfoOnOracleConnection(Connection oconn) |
|
static boolean |
isDRCPEnabled(Connection oconn) |
public static Properties getSessionInfoOnOracleConnection(Connection oconn)
public static void abortOracleConnection(Connection oconn)
protected static oracle.ucp.jdbc.oracle.FailoverablePooledConnectionHelper.InvocationVector getInvocationVector(Connection oracleConn)
public static int getDatabaseVersion(Connection oconn) throws UniversalConnectionPoolException
UniversalConnectionPoolExceptionpublic static boolean attachServerConnection(Connection oconn) throws SQLException
oconn - The Oracle JDBC connection.SQLExceptionpublic static void detachServerConnection(Connection oconn, String tag) throws SQLException
oconn - The Oracle JDBC connection.tag - The DRCP connection tag that should be applied on the connectionSQLExceptionpublic static boolean isDRCPEnabled(Connection oconn) throws SQLException
SQLExceptionpublic static int getInstanceNumber(Connection connection) throws SQLException
SQLException
Copyright © 2008, 2017, Oracle. All rights reserved.