wood burning stoves 2.0
The moose likes JDBC and Relational Databases and the fly likes jdbc connection problem Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of REST with Spring (video course) this week in the Spring forum!
JavaRanch » Java Forums » Databases » JDBC and Relational Databases
Bookmark "jdbc connection problem" Watch "jdbc connection problem" New topic

jdbc connection problem

srinivas Doni

Joined: Jun 02, 2011
Posts: 23
Hi to all,
I am new to java. while establishing connection in jdbc, i am getting error "The Network Adapter could not establish the connection". i am using oracle 10.1 g version.
If any body know solution for this. can help me.


Wouter Oet
Saloon Keeper

Joined: Oct 25, 2008
Posts: 2700

Moved to the JDBC forum.

"Any fool can write code that a computer can understand. Good programmers write code that humans can understand." --- Martin Fowler
Please correct my English.
Mike Zal
Ranch Hand

Joined: May 04, 2011
Posts: 144

What does your connection code look like?

Vijitha Kumara

Joined: Mar 24, 2008
Posts: 3900

Welcome to the Ranch, Srinivas Doni

You may provide the full stack trace and any other details including the code where you try to establish a connection to DB. This may help others to help you (TellTheDetails).

[How to ask questions] [Twitter]
I agree. Here's the link: http://aspose.com/file-tools
subject: jdbc connection problem
It's not a secret anymore!