Win a copy of Think Java: How to Think Like a Computer Scientist this week in the Java in General forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Guide Me On That

 
Muhammad Uzair Baig
Greenhorn
Posts: 12
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello
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
Posts: 1923
Linux Postgres Database Scala
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Greenhorn
Posts: 12
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi
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
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic