hi
i just tried this against DB2 v9.7.5 and any error message returned is
less than readable.
i executed a simple query for a table that does not exist. i received
a similar error message format to yours as below:
SELECT * FROM non_existent_table
DB2 SQL Error: SQLCODE=-204, SQLSTATE=42704,
SQLERRMC=DB2ADMIN.NON_EXISTENT_TABLE, DRIVER=3.63.75
[SQL State: 42704]
DB2 SQL Error: SQLCODE=-727, SQLSTATE=56098,
SQLERRMC=2;-204;42704;DB2ADMIN.NON_EXISTENT_TABLE, DRIVER=3.63.75
[SQL State: 42704]
i debugged the above and inspected the returned exception from DB2 and
it had exactly what is shown above. the second error line is the
embedded next exception. EQ will render the error messages as provided
by the database. it appears that DB2 does not provide much more than
what is returned by EQ.
There is nothing more EQ can do here to render a more usable error
message. perhaps someone else has some DB2 specific expertise (??).
sorry about that :)
thanks
Takis
On Jan 18, 12:32 am, Frédéric Besnard <
frederic.besn...@gmail.com>
wrote: