Re: JDBCExceptionReporter
- From: "Aj-India" <ajitravindran@xxxxxxxxx>
- Date: 17 Jul 2006 03:53:54 -0700
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
.
- References:
- JDBCExceptionReporter
- From: Aj-India
- Re: JDBCExceptionReporter
- From: Chris Smith
- JDBCExceptionReporter
- Prev by Date: Problem with JCombo box
- Next by Date: Re: problem with TreeMap - element removal fails.
- Previous by thread: Re: JDBCExceptionReporter
- Next by thread: URGENT REQUIRMENT FOR JAVA PROFESSIONAL---- US based MNC
- Index(es):
Relevant Pages
|