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 connecting to oracle database 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 "connecting to oracle database" Watch "connecting to oracle database" New topic

connecting to oracle database

seema prakash
Ranch Hand

Joined: Nov 17, 2004
Posts: 59
I was trying to connect to oracle9i Database using type 3 thin drivers
on winxp pro.I downloaded the driver from oracle site.
While connecting to data base I ran into problems. I'm able to eastablish the
connection even if the host name is not given. I'm not sure what may be the problem.
I tried the same code on another computer. It works perfectly i.e gives
me an error message.
I want to know what may have gone wrong? Please help. The code is as follows :

[ January 31, 2006: Message edited by: seema prakash ]
It is sorta covered in the JavaRanch Style Guide.
subject: connecting to oracle database
It's not a secret anymore!