Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Connecting with Oracle Thin Driver

 
vishal razdan
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

How can we connect our java application with oracle Thin Driver.My application is working fine with JDBC-ODBC bridge.As soon as i use thin driver,i am getting connection refused,although i made all the necessary changes as required.

Please help.
 
Paul Sturrock
Bartender
Posts: 10336
Eclipse IDE Hibernate Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
If your connection is being refused, check the permissions your user has and double check you are using the right credentials to get the connection.
 
Sol Mayer-Orn
Ranch Hand
Posts: 311
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
It might help if you could post:

1. The exact code you use to connect, expecially the connection URL
(should be just a few lines: the 'Class.forName...', the 'DriverManager.getConnection...' ).

2. The exact error message your get (stack trace).
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic