Skip to Content
0
Former Member
Dec 21, 2006 at 09:42 AM

Error with Database Access on Application Server with Java

112 Views

Hi there,

i try to connect to a java dictionary object, and everything works fine if i use for example

statement = connection.prepareStatement("SELECT PERNR FROM " + table);

I get the PERNR inside the Table and everything is ok.

But if i try to change the statement to:

statement = connection.prepareStatement("SELECT * FROM " + table);

I get an error saying com.sap.engine.services.rmi_p4.exception.P4BaseRuntimeException: I/O operation failed : java.lang.ClassNotFoundException: com.sap.sql.log.OpenSQLException

Found in negative cache

I restarted the j2ee-Engine, but it does not help. Any hints regarding this behaviour?

Thanks in advance!

Frank