
Oracle Thin Type 4 Driver for Oracle 8i, 9i, and 10g Databases The JAR file for the Oracle driver is ojdbc14.jar. Configure the connection pool using the following settings:. Name: Use this name when you configure the JDBC resource later. Resource Type: Specify the appropriate value. Database Vendor: Oracle.
The installation wizard creates an Oracle JDBC provider that uses the Oracle 10g JDBC driver (ojdbc14.jar). Slimcomputer portable. This JDBC driver can be used for connecting to both Oracle. I tried following 2 combition one each with ojdbc5.jar and ojdbc6.jar, I got the error for both. Jdk 6 Jdbc: ojdbc5.jar Database: Oracle 10.2.0.4. JDBC Oracle Connection Tutorial. Ojdbc6.jar – Classes for use. Because we need to add the Java Oracle Connector JAR in project’s classpath.
DataSource Classname: Specify one of the following: oracle.jdbc.pool.OracleDataSource oracle.jdbc.xa.client.OracleXADataSource. Properties:. user - Set as appropriate. password - Set as appropriate.
URL - Specify the complete database URL using the following syntax: jdbc:oracle:thin: user/ password@ host: port/ service For example: jdbc:oracle:thin:@localhost:1521:customerdb. xa-driver-does-not-support-non-tx-operations - Set to the value true. Optional: only needed if both non-XA and XA connections are retrieved from the same connection pool. Might degrade performance. As an alternative to setting this property, you can create two connection pools, one for non-XA connections and one for XA connections. Note – You must set the oracle-xa-recovery-workaround property in the Transaction Service for recovery of global transactions to work correctly.
For details, see. When using this driver, it is not possible to insert more than 2000 bytes of data into a column. To circumvent this problem, use the OCI driver (JDBC type 2).