Setting Oracle parameters
Ensure that you set the following Oracle parameters.
About this task
Oracle supports the following JDBC driver types:
- thin
- This type is the default type.
- OCI
- The OCI driver allows the use of TAF (Transparent Application Failover) for RAC (Real Application Cluster) installations.
Procedure
Example
(Database SID = 'mydb', client uses 'mydb' to connect using sqlplus
[db]
type-=oracle
username=dbuesr
password=somepwd
home=/opt/oracle/app/product/11.1.0/db_1
hostname=my-dbserver.company.com
port=1525
[db.oracle]
instance=mydb
Here
is an example where the SQLPlus is different from
SID:
(Database SID = 'mdmpim', client uses 'mydb' to connect using sqlplus
[db]
type-=oracle
username=dbuesr
password=somepwd
home=/opt/oracle/app/product/11.1.0/db_1
hostname=my-dbserver.company.com
port=1525
[db.oracle]
instance=mydb
tns_name=mdmpim