Skip to Main Content

Java Database Connectivity (JDBC)

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

No support for OLE DB in Java

843859Apr 6 2006 — edited Nov 20 2014
Hi,

How can it be that there is no support for OLE DB in Java. ODBC is no longer being developed and will probably soon die. All .NET programs insist on supporting only OLE DB or ADO.

What options do I have if I need to connect my Java program with a database behind an OLE DB interface? I can't be alone with this probelm.

Br,
Tom

Comments

if you look at examples you'll see following statement before getConnectionon...

java.lang.Class.forName ("oracle.jdbc.OracleDriver");

Philip

Gell�rt-Oracle

That line was missing from the second example. However my problem is infrastructure related:

java.lang.Class.forName ("oracle.jdbc.OracleDriver"); --->Wrapped java.lang.ClassNotFoundException: oracle.jdbc.OracleDriver

I used Data Modeler 4.0.0.825. This could be related to the custom java home used by my installation.

The same code works with version "3.3.0.747 jre included"

1 - 2
Locked Post
New comments cannot be posted to this locked post.

Post Details

Locked on Mar 19 2008
Added on Apr 6 2006
14 comments
1,277 views