• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Liutauras Vilda
  • Junilu Lacar
  • Jeanne Boyarsky
  • Bear Bibeault
Sheriffs:
  • Knute Snortum
  • Tim Cooke
  • Devaka Cooray
Saloon Keepers:
  • Ron McLeod
  • Stephan van Hulst
  • Tim Moores
  • Tim Holloway
  • Carey Brown
Bartenders:
  • Piet Souris
  • Frits Walraven
  • Ganesh Patekar

Oracle 9i and SQL Server 2000 why the difference???

 
Ranch Hand
Posts: 66
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Respected Members,
I have a question,when we are using MS Access or SQL Server 2000 as the backend database with Java application than we have to add it to System DSN first and han follow the rest of the procedure, while in case of Oracle 9i we directly pass the connection string in the program and I dont think that we add it to the System DSN in control Panel,can any one please clarify the reason?
 
Bartender
Posts: 2653
18
Netbeans IDE C++ Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You specify a DSN datasource when you use the jdbcodbc bridge.
This is a jdbc driver that uses the odbc protocol to talk to your database.

Most databases provide a native jdbc driver. This driver talks to your database without using odbc.
If you use the native driver, you do not have to set up a DSN entry.

Regards, Jan
 
Bartender
Posts: 10336
Hibernate Eclipse IDE Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Just to add to what Jan has already written, you don't need to use ODBC with SQL Server, there are proper, freely available type 4 drivers for it.
 
God is a comedian playing for an audience that is afraid to laugh - Voltair. tiny ad:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop
https://coderanch.com/wiki/718759/books/Building-World-Backyard-Paul-Wheaton
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!