xiaoyunwu
asked on
oracle jdbc driver remote access
If the oracle database is sitting on server 1, and on server one, I can use curl to access oracle through the following.
Is there anyway on server 2, which does not have Oracle installed, but can have the jdbc driver, to access database that's sitting on server 1? If so, how?
"jdbc" : {
"driver" : "oracle.jdbc.driver.OracleDriver",
"url" : "jdbc:oracle:oci:@xxxxx",
"user" : "test",
"password" : "test",
"sql" : "select * from test_table"
},
Is there anyway on server 2, which does not have Oracle installed, but can have the jdbc driver, to access database that's sitting on server 1? If so, how?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Now I got the following error:
while opening read connection: jdbc:oracle:thin:@ww.test. com:1521:x xx No suitable driver found,
Does this mean jdbc driver should be on the server 2, right?
while opening read connection: jdbc:oracle:thin:@ww.test.
Does this mean jdbc driver should be on the server 2, right?
>>Does this mean jdbc driver should be on the server 2, right?
I'm not a Java person and have never heard of curl so I probably can't help much with the specifics. If you Google around for "jdbc:oracle:thin" "No suitable driver found" there is a lot of information out there.
Everything points to the java class libs not being found.
I'm not a Java person and have never heard of curl so I probably can't help much with the specifics. If you Google around for "jdbc:oracle:thin" "No suitable driver found" there is a lot of information out there.
Everything points to the java class libs not being found.
ASKER
Thank you, slightwv.
ASKER