Hibernate or JDBC Problem

From: Tomek Sniadach (tomek.sniadach_at_arcor.de)
Date: 05/17/04


Date: Mon, 17 May 2004 14:20:24 +0200

Hi,
i have a problem to get data from ADABAS D with Hibernate. The Error is :

Hibernate: select kunde0_.knr as knr, kunde0_.anrede as anrede,
kunde0_.vorname as vorname, kunde0_.nachname as nachname, kunde0_.plz as
plz, kunde0_.adresse as adresse from SQLREISEN00.KUNDE kunde0_

Kontrolle 8 de.sag.jdbc.adabasd.AResultSet@1353249
17.05.2004 13:51:09 net.sf.hibernate.util.JDBCExceptionReporter
logExceptions
WARNUNG: SQL Error: -4000, SQLState: 24000
17.05.2004 13:51:09 net.sf.hibernate.util.JDBCExceptionReporter
logExceptions
SCHWERWIEGEND: UNKNOWN RESULT TABLE

The documentation of Adabas says that a result table with this name not
exists.
But when i copy the select string and put it as SQL directly with the same
JDBC driver it works.
I have checked the rights of the DB user, they are OK, i donīt think, that
the is problem on database side, but where ? Is it the JDBC driver ?
Every idea coud help me :)
Thx

Tomek