-->
These old forums are deprecated now and set to read-only. We are waiting for you on our new forums!
More modern, Discourse-based and with GitHub/Google/Twitter authentication built-in.

All times are UTC - 5 hours [ DST ]



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 2 posts ] 
Author Message
 Post subject: encountered hibernate exception during update/delete
PostPosted: Mon May 17, 2004 6:29 am 
Newbie

Joined: Mon May 17, 2004 6:19 am
Posts: 2
hi, im just new in using hibernate and i dont know why I encountered this exception.

Im trying to delete a user id from a table and this exception occurred.
can someone explain why this happened and how can I resolve this.
Thanks very much.

Hibernate: delete from user_chart where userId=?
ERROR - Could not synchronize database state with session
net.sf.hibernate.HibernateException: Batch update row count wrong: 0
at net.sf.hibernate.impl.BatchingBatcher.doExecuteBatch(BatchingBatcher.
java:65)


Top
 Profile  
 
 Post subject:
PostPosted: Mon May 17, 2004 6:33 am 
Regular
Regular

Joined: Wed Apr 21, 2004 10:57 am
Posts: 62
Location: Hasselt, Belgium
I suggest using the search function in this forum.

There have been plenty of questions on this HibernateException "Batch update row count wrong: 0". It's a bit useless answering the same questions over and over again.

Also if you post, add you mapping documents, necessary code, hibernate version , ... (the red box above)

Peter


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 2 posts ] 

All times are UTC - 5 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.