Re: JDBCExceptionReporter



Dear Chris,
Sorry for the delay in replying. Yes you were right. It was a warning.
In the code there was a createStatement() which had these two
parameters TYPE_SCROLL_INSENSITIVE and CONCUR_UPDATABLE . On removing
this, the problem was solved.

Thanks a lot,

Aj

Chris Smith wrote:
Aj-India <ajitravindran@xxxxxxxxx> wrote:
I am using Hibernate with DB2 (Websphere application server). I am
getting this error.

"net.sf.hibernate.util.JDBCExceptionReporter Insensitive updatable
result sets are not supported by server; remapping to insensitive
read-only cursor"

Can anyone explain to me what this means. I am not updating anything.

This reads like a warning message. Is it actually an error?

It's saying that DB2 won't let Hibernate create a scrollable result set
using TYPE_SCROLL_INSENSITIVE and CONCUR_UPDATABLE at the same time. If
you aren't trying to update anything, I don't know why Hibernate would
be trying to create an updatable result set. Can you reproduce the
problem with a small amount (<= 50 lines or so) of sample code?

--
Chris Smith - Lead Software Developer / Technical Trainer
MindIQ Corporation

.



Relevant Pages

  • Re: kubuntu battery applet (Power Manager)
    ... to shutdown, hibernate, suspend or do nothing. ... WARNING me, as the applet in the last distribution did? ... Hibernate takes place in a reasonably predictable ... Personally, I never liked klaptopdaemon. ...
    (Ubuntu)
  • Re: kubuntu battery applet (Power Manager)
    ... to shutdown, hibernate, suspend or do nothing. ... WARNING me, as the applet in the last distribution did? ... Power management nose dived in edgy, ... Hibernate takes place in a reasonably predictable ...
    (Ubuntu)
  • Re: kubuntu battery applet (Power Manager)
    ... Jan Torben Heuer said... ... than giving you a warning that turns out to be 5 seconds to short to save ... Hibernate is still not working on all laptops and it is NOT a replacement ... You can check swap ...
    (Ubuntu)
  • Re: kubuntu battery applet (Power Manager)
    ... than giving you a warning that turns out to be 5 seconds to short to save ... Hibernate is still not working on all laptops and it is NOT a replacement ... for a simple stupid warning dialog (I even thougt about hacking the ... hibernate script to simple show an kdialog....) ...
    (Ubuntu)