Author
JDBC &ODBC
sameera liyanage
Ranch Hand
Joined: Nov 25, 2008
Posts: 643
what is the different between JDBC & ODBC?
give example
Ulf Dittmer
Marshal
Joined: Mar 22, 2005
Posts: 35241
posted Mar 17, 2009 03:03:29
0
For basic definitions, Google and Wikipedia are your best options. There's not much point in writing here what has been written multiple times before elsewhere.
Android apps – ImageJ plugins – Java web charts
Sagar Rohankar
Ranch Hand
Joined: Feb 19, 2008
Posts: 2896
aruna sameera wrote: what is the different between JDBC & ODBC?
Short note:
JDBC: A Java way to get connected to the databases.
ODBC: Its MS Windows library specific way to get connected to MS SQL server .
Raghavan Muthu
Ranch Hand
Joined: Apr 20, 2006
Posts: 3327
Sagar Rohankar wrote:
aruna sameera wrote: what is the different between JDBC & ODBC?
Short note:
JDBC: A Java way to get connected to the databases.
ODBC: Its MS Windows library specific way to get connected to MS SQL server .
ODBC is not specifically for MS SQL Server alone. You can try with any compliant database.
Paul Sturrock
Bartender
Joined: Apr 14, 2004
Posts: 10336
...and its not specifically a Microsoft technology (though MS are one of its main proponents). Its a standard.
JavaRanch FAQ HowToAskQuestionsOnJavaRanch
Sagar Rohankar
Ranch Hand
Joined: Feb 19, 2008
Posts: 2896
oops, Thanks Raghvan, I missed that, Its because of mostly my ODBC connection end up with SQL Server OR MS Access, only
And Paul , Thanks, for letting me know, as its standard.. Thats means we can have ODBC connection on Linux platform also
subject: JDBC &ODBC