• Post Reply Bookmark Topic Watch Topic
  • New Topic

JDBC and ODBC  RSS feed

 
Ranch Hand
Posts: 239
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
what is the difference between JDBC and ODBC? which one is better?
 
author
Sheriff
Posts: 23306
125
C++ Chrome Eclipse IDE Firefox Browser Java jQuery Linux VI Editor Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

Hendra Kurniawan wrote:what is the difference between JDBC and ODBC? which one is better?



The ODBC API is for the C language. The JDBC API is for the Java language. ODBC came first, hence, some early usage of JDBC were actually going though a bridge to ODBC. Asking which is "better" doesn't really make sense, as that is like asking which language is better.

Henry
 
Hendra Kurniawan
Ranch Hand
Posts: 239
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Oh, so it's just a matter of language? I thought ODBC and JDBC are not language dependent, but then again J stands for Java in JDBC, oh well, that clarifies everything. thanks
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!