File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes JDBC and Relational Databases and the fly likes jdbc Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Databases » JDBC and Relational Databases
Bookmark "jdbc" Watch "jdbc" New topic


Sarthak Kanungo

Joined: Sep 10, 2007
Posts: 13
i am using myeclipse. i want to do the hibernate . when i try to connect to the oracle server there is a error.

"Error while performing database login with the Oracle driver:
Io exception:The Network Adapter could not establish the connection"

The above error also occurs when i try to connect to the oracle database using simple jdbc code.
Paul Sturrock

Joined: Apr 14, 2004
Posts: 10336

Can you post your code? And possibly the stack trace?

JavaRanch FAQ HowToAskQuestionsOnJavaRanch
I agree. Here's the link:
subject: jdbc
It's not a secret anymore!