Technical data

JDBC Configuration Guidelines for Connection Pools, MultiPools and DataSources
Administration Guide 16-15
The following attributes are an example of a Tx Data Source configuration using the
WebLogic jDriver for Oracle in XA mode.
You can also configure the JDBC Connection Pool to use a third-party vendor’s driver
in XA mode. In such cases, the data source properties are set via reflection on the
XADataSource instance using the JavaBeans design pattern. In other words, for
property
abc, the XADataSource instance must support get and set methods with the
names
getAbc and setAbc, respectively.
The following attributes are an example of a JDBC Connection Pool configuration
using the Oracle Thin Driver.
Table 16-9 WebLogic jDriver for Oracle/XA: Tx Data Source
Attribute
Name Attribute Value
Name
fundsXferData Source
Targets
myserver
JNDIName
myapp.fundsXfer
PoolName
fundsXferAppPool
Table 16-10 Oracle Thin Driver: Connection Pool Configuration
Attribute
Name Attribute Value
Name
jtaXAPool
URL
jdbc:oracle:thin:@baybridge:1521:bay817
Targets
myserver,server1
DriverClassname
oracle.jdbc.xa.client.OracleXADataSource
Initial Capacity
1
MaxCapacity
20
CapacityIncrement
2
Properties
user=scott
password=tiger