Avadhut Joshi

Greenhorn
+ Follow
since Apr 04, 2008
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Avadhut Joshi

Wendy Gibbons wrote:the first search I did "oracle url format oci", answered your question.
Please make some effort



appreciated however the same thing is not working so I put it here as my efforts were not getting required results.

anyways,

1. is it that I need to give the host and port as I have not been provided with it right now so may need to get it.
2. or anything else could be the reason.

Hi

I am using oci driver..and using the following code however getting the error as 'Invalid Oracle URL specified'. Please advice and guide.


Error:

java.sql.SQLException: Invalid Oracle URL specified
at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:168)
at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:210)
at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:273)
at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:182)
at java.sql.DriverManager.getConnection(Unknown Source)
at java.sql.DriverManager.getConnection(Unknown Source)
at co.za.liberty.lajava.ChRates.Database.getConnection(Database.java:49)
at co.za.liberty.lajava.ChRates.Database.executeSelect(Database.java:162)
at co.za.liberty.lajava.ChRates.SAChoqRates.main(SAChoqRates.java:83)
Exception in thread "main"





Thanks,

Avadhut Joshi