Is there a recommended way to check for return codes from the DBMS for SQL executed through Hibernate?
Like something equivalent to Statement.getWarnings() ? We are experiencing a situation where DB2 is return -181 codes to us meaning our SQL statement failed, but we not seeing exceptions thrown when this happens, so up until now the statements have been silently bombing.
We are trying to see if there is a recommended way via Hibernate to check for return codes from the underlying DBMS? I know this is kind of a weird one. Thanks in advance for anyone who can help, or just for taking the time to read our post ! :),
Jim Bender
james.bender@53.com