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!

Driver does not support this function (jdbc-odbc bridge)

843854Nov 25 2001 — edited Nov 26 2001
Hello,

I am using sql server with jdbc-odbc bridge driver, however, the following statement throws an exception saying that driver not support this function.

---------------------------------------------------------
PreparedStatement stm = _connection.prepareStatement(query);

return stm.executeQuery(query);

--------------------------------------------------------

query is a string like "select field1, field2 alias from db where field1='abc'".

I am using jdk1.3.1_01 and I think it uses the latest JDBC apis. This statement works well with both Interbase and Oracle.

Thank for any help.

dq
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Dec 24 2001
Added on Nov 25 2001
3 comments
269 views