This week's book giveaway is in the Clojure forum.
We're giving away four copies of Clojure in Action and have Amit Rathore and Francis Avila on-line!
See this thread for details.
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Is there is any way to connect to Database without JDBC

 
vicky saxena
Greenhorn
Posts: 16
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Is there is any way to connect to Database without JDBC
If yes then how its possible.
Can we use ODBC?
 
David Ulicny
Ranch Hand
Posts: 724
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Yes, you can use native database API.

Yes, you can use ODBC, it's called "ODBC JDBC bridge".
 
Pradeep bhatt
Ranch Hand
Posts: 8927
Firefox Browser Java Spring
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by David Ulicny:
Yes, you can use native database API.

Yes, you can use ODBC, it's called "ODBC JDBC bridge".


This would require JNI to be used , right?
 
David Ulicny
Ranch Hand
Posts: 724
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I suppose it depends on database vendor. For example HSQL or Cloudscape(Derby) will have native interface in Java. But Oracle,DB2 will have it in C, C++ or RPG.
 
Pradeep bhatt
Ranch Hand
Posts: 8927
Firefox Browser Java Spring
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by David Ulicny:
I suppose it depends on database vendor. For example HSQL or Cloudscape(Derby) will have native interface in Java. But Oracle,DB2 will have it in C, C++ or RPG.


ok thanks.
 
Yilmaz Mete
Greenhorn
Posts: 28
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You should implement the interface of the specific database of interest explicitly yourself, I mean the actual wire network protocol that handles the communication between the appl and the vendor database.
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic