Hi All,
I am using Hibernate 3.0, I have created a session and in the same session when I am executing 'session.createQuery(...' third time it is producing an error 'Could not execute JDBC batch update'. but first two times it executes successfully.
The code is:
[code]List list = session.createQuery("from "+Sequence.class.getName()+" where sequenceID=:sequenceID")
.setString("sequenceID",sequenceID)
.list();
Your reply will be highly appreciated.
Thanks in advance.
Hemant.
Last edited by hemant2323 on Fri Feb 06, 2009 9:34 am, edited 1 time in total.
|