• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

JDBC &ODBC

 
sam liya
Ranch Hand
Posts: 1243
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
what is the different between JDBC & ODBC?
give example
 
Ulf Dittmer
Rancher
Posts: 42969
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
Sagar Rohankar
Ranch Hand
Posts: 2907
1
Java Spring Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 3381
Mac MySQL Database Tomcat Server
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 10336
Eclipse IDE Hibernate Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
...and its not specifically a Microsoft technology (though MS are one of its main proponents). Its a standard.
 
Sagar Rohankar
Ranch Hand
Posts: 2907
1
Java Spring Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic