aspose file tools*
The moose likes JDBC and the fly likes Is there is any way to connect to Database without JDBC Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Databases » JDBC
Bookmark "Is there is any way to connect to Database without JDBC" Watch "Is there is any way to connect to Database without JDBC" New topic
Author

Is there is any way to connect to Database without JDBC

vicky saxena
Greenhorn

Joined: Aug 23, 2005
Posts: 15
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

Joined: Aug 04, 2004
Posts: 724
Yes, you can use native database API.

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


SCJP<br />SCWCD <br />ICSD(286)<br />MCP 70-216
Pradeep bhatt
Ranch Hand

Joined: Feb 27, 2002
Posts: 8919

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?


Groovy
David Ulicny
Ranch Hand

Joined: Aug 04, 2004
Posts: 724
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

Joined: Feb 27, 2002
Posts: 8919

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

Joined: Dec 23, 2003
Posts: 28
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
 
subject: Is there is any way to connect to Database without JDBC