Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.server -> JDBC/OCI7: Unable to execute query

JDBC/OCI7: Unable to execute query

From: Ralf Zimmermann <ralf.zimmermann_at_zbs.de>
Date: 1997/06/26
Message-ID: <33B2D4C9.EF13AE84@zbs.de>#1/1

Hi there,

I've got a problem while connecting to Oracle Workgroup Server 7.3 on Windows NT Server 4.0 (Service Pack 2) via JDBC, using Oracle JDBC/OCI 7 drivers.

I'm able to connect to the correct database instance, but when it's on the turn to execute a query the following error appears:

    java.lang.IllegalAccessError: Unimplemented interface method

        at oracle.jdbc.OracleStatement.executeQuery (OracleStatement.java:114)

        at JdbcTest.main (JdbcTest.java:25)

The same error appears when using Oracle's sample program, distributed with the Oracle Java Sampler CD as well as using a test program written on my own.

The content of the non-modified "JdbcTest.java" program at line 25 is at follows:

        ResultSet rset = stmt.executeQuery ("select ename from emp");

The date of the corresponding class "OracleStatement.class" is 97/03/10. So I've downloaded a newer version of JDBC/OCI7 from the web. The class' date is now 97/03/27. Unfortunately this makes no difference.

I would be pleased if anyone can solve this problem or maybe tell me where to get a newer version of JDBC/OCI7.

Best regards from Heidenheim/Germany
Ralf Zimmermann

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


| | Zimmermann Business Solutions
|
| _/_/_/_/_/ _/_/_/_/ _/_/_/_/ | Emil-Nolde-Strasse 15
|
| _/ _/ _/ _/ _/ | D - 89520 Heidenheim (Germany)
|
| _/ _/ _/ _/ |
|
| _/ _/ _/ _/ | Phone: +49 (73 21) 96 66- 0
|
| _/ _/_/_/_/ _/_/_/_/ | Fax: +49 (73 21) 96 66-25
|
| _/ _/ _/ _/ | Web: http://www.zbs.de
|
| _/ _/ _/ _/ |
-------------------------------|
| _/ _/ _/ _/ _/ | Ralf Zimmermann
|
| _/_/_/_/_/ _/_/_/_/ _/_/_/_/ | Phone: +49 (73 21) 96 66-66
|
| | E-Mail: ralf.zimmermann_at_zbs.de
|
-------------------------------------------------------------------------
Received on Thu Jun 26 1997 - 00:00:00 CDT

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US