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

Part Number E41849-02

weblogic.j2ee.descriptor.wl
Interface JDBCOracleParamsBean

All Superinterfaces:
SettableBean

public interface JDBCOracleParamsBean
extends SettableBean

Contains the Oracle database-related parameters of a data source.

Configuration parameters for a data source's Oracle-specific behavior are specified using a Oracle parameters bean.

Access limited to the following security roles:
Deployer

Method Summary
 String getAffinityPolicy()
          Specifies the affinity policy for the datasource.
 String getConnectionInitializationCallback()
          The name of the Connection Initialization Callback class.
 String getOnsNodeList()
          A comma-separate list of ONS daemon listen addresses and ports to which connect to for receiving ONS-based FAN events.
 String getOnsWalletFile()
          The location of the Oracle wallet file in which the SSL certificates are stored.
 String getOnsWalletPassword()
          The wallet password attribute that is included as part of the ONS client configuration string.
 byte[] getOnsWalletPasswordEncrypted()
          The encrypted database password as set with setOnsWalletPassword(), or with setOnsWalletPasswordEncrypted(byte[] bytes).
 int getReplayInitiationTimeout()
          The amount of time, in seconds, a data source allows for Application Continuity replay processing before timing out and ending a replay session context.
 boolean isActiveGridlink()
          Indicates a configured Active GridLink datasource.
 boolean isFanEnabled()
          Enables the data source to subscribe to and process Oracle FAN events.
 boolean isOracleEnableJavaNetFastPath()
          Deprecated.
 boolean isOracleOptimizeUtf8Conversion()
          Enables the Oracle JDBC optimize UTF-8 conversion option.
 boolean isOracleProxySession()
          Enables Oracle JDBC Proxy Authentication.
 boolean isUseDatabaseCredentials()
          If enabled, Oracle database credentials are used in getConnection instead of application server credentials.
 void setActiveGridlink(boolean activeGridlink)
           
 void setAffinityPolicy(String affinityPolicy)
           
 void setConnectionInitializationCallback(String className)
           
 void setFanEnabled(boolean fanEnabled)
           
 void setOnsNodeList(String onsNodes)
           
 void setOnsWalletFile(String onsWalletFile)
           
 void setOnsWalletPassword(String password)
           
 void setOnsWalletPasswordEncrypted(byte[] passwordEncrypted)
           
 void setOracleEnableJavaNetFastPath(boolean oracleEnableJavaNetFastPath)
           
 void setOracleOptimizeUtf8Conversion(boolean oracleOptimizeUtf8Conversion)
           
 void setOracleProxySession(boolean oracleProxySession)
           
 void setReplayInitiationTimeout(int replayInitiationTimeout)
           
 void setUseDatabaseCredentials(boolean useDatabaseCredentials)
           
 
Methods inherited from interface weblogic.descriptor.SettableBean
isSet, unSet
 

Method Detail

isFanEnabled

boolean isFanEnabled()

Enables the data source to subscribe to and process Oracle FAN events.

This attribute is only applicable for RAC configurations that publish FAN notification events using the ONS protocol.

Changes take effect after you redeploy the module or restart the server.
Default Value:
false

setFanEnabled

void setFanEnabled(boolean fanEnabled)

getOnsNodeList

String getOnsNodeList()

A comma-separate list of ONS daemon listen addresses and ports to which connect to for receiving ONS-based FAN events. It is required when connecting to Oracle 11g databases and optional when connecting to Oracle database releases 12c and higher.


setOnsNodeList

void setOnsNodeList(String onsNodes)

getOnsWalletFile

String getOnsWalletFile()

The location of the Oracle wallet file in which the SSL certificates are stored. Only required when the ONS client is configured to communicate with ONS daemons using SSL.


setOnsWalletFile

void setOnsWalletFile(String onsWalletFile)

getOnsWalletPasswordEncrypted

byte[] getOnsWalletPasswordEncrypted()

The encrypted database password as set with setOnsWalletPassword(), or with setOnsWalletPasswordEncrypted(byte[] bytes).

Returns:
The password value as an encrypted byte array
Access limited to the following security roles:
Deployer

setOnsWalletPasswordEncrypted

void setOnsWalletPasswordEncrypted(byte[] passwordEncrypted)

getOnsWalletPassword

String getOnsWalletPassword()

The wallet password attribute that is included as part of the ONS client configuration string. This attribute is only required when ONS is configured to use the SSL protocol.

The value is stored in an encrypted form in the descriptor file and when displayed in an administration console.

Returns:
The clear text value of the ONS wallet password if it can be determined
Access limited to the following security roles:
Deployer

setOnsWalletPassword

void setOnsWalletPassword(String password)

isOracleEnableJavaNetFastPath

boolean isOracleEnableJavaNetFastPath()

Deprecated.

Changes take effect after you redeploy the module or restart the server.
Default Value:
false

setOracleEnableJavaNetFastPath

void setOracleEnableJavaNetFastPath(boolean oracleEnableJavaNetFastPath)

isOracleOptimizeUtf8Conversion

boolean isOracleOptimizeUtf8Conversion()

Enables the Oracle JDBC optimize UTF-8 conversion option.

Changes take effect after you redeploy the module or restart the server.

setOracleOptimizeUtf8Conversion

void setOracleOptimizeUtf8Conversion(boolean oracleOptimizeUtf8Conversion)

getConnectionInitializationCallback

String getConnectionInitializationCallback()

The name of the Connection Initialization Callback class.

This name is automatically passed to registerConnectionInitializationCallback when a data source is created. The class must implement oracle.ucp.jdbc.ConnectionInitializationCallback.


setConnectionInitializationCallback

void setConnectionInitializationCallback(String className)

getAffinityPolicy

String getAffinityPolicy()

Specifies the affinity policy for the datasource.

Options include: The default value is Session.

Default Value:
weblogic.jdbc.common.internal.JDBCConstants.AFFINITY_SESSION
Valid Values:
weblogic.jdbc.common.internal.JDBCConstants.AFFINITY_XA, weblogic.jdbc.common.internal.JDBCConstants.AFFINITY_SESSION, weblogic.jdbc.common.internal.JDBCConstants.AFFINITY_DATA, weblogic.jdbc.common.internal.JDBCConstants.AFFINITY_NONE

setAffinityPolicy

void setAffinityPolicy(String affinityPolicy)

isOracleProxySession

boolean isOracleProxySession()

Enables Oracle JDBC Proxy Authentication.

Default Value:
false

setOracleProxySession

void setOracleProxySession(boolean oracleProxySession)

isUseDatabaseCredentials

boolean isUseDatabaseCredentials()

If enabled, Oracle database credentials are used in getConnection instead of application server credentials. The database credentials are used to get a proxy session without requiring any work in the credential mapper.

Default Value:
false

setUseDatabaseCredentials

void setUseDatabaseCredentials(boolean useDatabaseCredentials)

getReplayInitiationTimeout

int getReplayInitiationTimeout()

The amount of time, in seconds, a data source allows for Application Continuity replay processing before timing out and ending a replay session context.

Changes take effect after you redeploy the module or restart the server.
Default Value:
3600
Maximum Value:
java.lang.Integer.MAX_VALUE
Minimum Value:
0

setReplayInitiationTimeout

void setReplayInitiationTimeout(int replayInitiationTimeout)

isActiveGridlink

boolean isActiveGridlink()
Indicates a configured Active GridLink datasource. This attributed is set to true when using the console to create an Active GridLink datasource. It is ignored if FanEnabled is true or OnsNodeList is a non-null string.

Default Value:
false

setActiveGridlink

void setActiveGridlink(boolean activeGridlink)

Copyright 1996, 2014, 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.1.3)

Part Number E41849-02