Win a copy of Java Mock Exams (software) this week in the Programmer Certification (OCPJP) forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Examples for all types of JDBC drivers

 
Amit More
Greenhorn
Posts: 24
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
There are four types of jdbc drivers
for more info please use following link : http://java.sun.com/products/jdbc/driverdesc.html
I just want sample codes where all these drivers are used (ofcourse separate code for each driver).
 
Joe Ess
Bartender
Posts: 9370
11
Linux Mac OS X Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The difference between the 4 kinds of JDBC drivers is in their implementation, not in the way one uses them. That's one of the goals of Object-Oriented Programming. If you want examples, check out The JDBC Tutorial.
 
Jamie Robertson
Ranch Hand
Posts: 1879
MySQL Database Suse
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You can find all the JDBC drivers currently listed with sun here. For each driver, you can go to their homepages and find their documentation. From there you can find the implementation specific Connection parameters and properties for the driver.
Hope you have lots of time on your hands!
Jamie
 
Happiness is not a goal ... it's a by-product of a life well lived - Eleanor Roosevelt. Tiny ad:
the new thread boost feature: great for the advertiser and smooth for the coderanch user
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!