This week's book giveaway is in the OCPJP forum.
We're giving away four copies of OCA/OCP Java SE 7 Programmer I & II Study Guide and have Kathy Sierra & Bert Bates on-line!
See this thread for details.
The moose likes JDBC and the fly likes Is type-1 driver DBMS specific? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCA/OCP Java SE 7 Programmer I & II Study Guide this week in the OCPJP forum!
JavaRanch » Java Forums » Databases » JDBC
Bookmark "Is type-1 driver DBMS specific?" Watch "Is type-1 driver DBMS specific?" New topic
Author

Is type-1 driver DBMS specific?

sandeep kulkarnii
Greenhorn

Joined: Jan 14, 2012
Posts: 6
Hello friends, If we use type-1 driver in our application and DBMS is changed in the server. Can we still be able to run the application? If not , and we have to change the driver in the client.. will this mean type-1 driver is DBMS specific? Thanks in advance.
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 42371
    
  64
Type 1 is the JDBC/ODBC bridge. It depends on an ODBC connection, not on a particular DB. As long as the DB in question supports ODBC connectivity, you should be able to replace it without changing the JDBC code. (That you should not use the JDBC/ODBC bridge at all is another matter.)


Ping & DNS - my free Android networking tools app
 
Don't get me started about those stupid light bulbs.
 
subject: Is type-1 driver DBMS specific?