Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.server -> JDBC/OCI7: Unable to execute query
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
-- -------------------------------------------------------------------------Received on Thu Jun 26 1997 - 00:00:00 CDT
| | 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
|
-------------------------------------------------------------------------
![]() |
![]() |