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 Guide Me On That Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Customer Requirements for Developers this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Databases » JDBC and Relational Databases
Bookmark "Guide Me On That" Watch "Guide Me On That" New topic

Guide Me On That

Muhammad Uzair Baig

Joined: Mar 02, 2004
Posts: 12
I am a table using sql than save it now i want to make connection with the java class using JDBC what should i do at DSN? Which driver i select? at what string pass to it(if any)?. Please help me on that.
Thank You
Best Regards
Uzair Baig
Stefan Wagner
Ranch Hand

Joined: Jun 02, 2003
Posts: 1923

You need to tell us at least what RDBMS you use. Oracle? Postgres?
You need the name of the database (test, foo, shop, aerospace, ...?)
You need an appropriate Driver for the RDBMS - look at the vendors-site (Oracle, Postgres).
Look for a JDBC Driver, not JDBC-ODBC.
And please use better question- titles the next time. (i.e.: How to connect to database XY?)
[ April 06, 2004: Message edited by: Stefan Wagner ]
Muhammad Uzair Baig

Joined: Mar 02, 2004
Posts: 12
I using oracle my dear and i didnt found any appropriate driver. I Using Microsoft ODBC for oracle but it is not working.
Best Regards
Uzair Baig
I agree. Here's the link:
subject: Guide Me On That
It's not a secret anymore!