This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes JDBC and the fly likes driver  type? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Databases » JDBC
Bookmark "driver  type?" Watch "driver  type?" New topic
Author

driver type?

kri shan
Ranch Hand

Joined: Apr 08, 2004
Posts: 1371
What are the parameters we will consider before selecting the driver type(Type1 (or) Type 2 (or) Type 3 (or) Type 4) ?
David O'Meara
Rancher

Joined: Mar 06, 2001
Posts: 13459

Hmm.

Type 1 - only if you really really have to.

Type 4 - almost always used if it is available and 'fully implemented'.

Type 2 and 3 - used if Type 4 is not available, and depending on which is available and has better functionality.

Just off the top of my head.
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: driver type?
 
Similar Threads
Unable to Insert these Chinese Character
Java
choose jdbc driver type
jdbc
JDBC Drivers