-->
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.  [ 3 posts ] 
Author Message
 Post subject: Give me Solution for this.....
PostPosted: Thu Feb 21, 2008 9:57 am 
Newbie

Joined: Thu Feb 21, 2008 9:53 am
Posts: 1
type Exception report

message

description The server encountered an internal error () that prevented it from fulfilling this request.

exception

org.hibernate.StaleStateException: Batch update returned unexpected row count from update: 0 actual row count: 0 expected: 1
org.hibernate.jdbc.BatchingBatcher.checkRowCount(BatchingBatcher.java:93)
org.hibernate.jdbc.BatchingBatcher.checkRowCounts(BatchingBatcher.java:79)
org.hibernate.jdbc.BatchingBatcher.doExecuteBatch(BatchingBatcher.java:58)
org.hibernate.jdbc.AbstractBatcher.executeBatch(AbstractBatcher.java:195)
org.hibernate.engine.ActionQueue.executeActions(ActionQueue.java:230)
org.hibernate.engine.ActionQueue.executeActions(ActionQueue.java:141)
org.hibernate.event.def.AbstractFlushingEventListener.performExecutions(AbstractFlushingEventListener.java:296)
org.hibernate.event.def.DefaultFlushEventListener.onFlush(DefaultFlushEventListener.java:27)
org.hibernate.impl.SessionImpl.flush(SessionImpl.java:980)
org.hibernate.impl.SessionImpl.managedFlush(SessionImpl.java:353)
org.hibernate.transaction.JDBCTransaction.commit(JDBCTransaction.java:106)
servlet.Alternatecontact.doGet(Alternatecontact.java:163)
javax.servlet.http.HttpServlet.service(HttpServlet.java:697)
javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:81)


note The full stack trace of the root cause is available in the Apache Tomcat/5.5 logs.


Top
 Profile  
 
 Post subject:
PostPosted: Thu Feb 21, 2008 11:06 am 
Senior
Senior

Joined: Fri Jun 01, 2007 12:41 pm
Posts: 121
Check this http://www.laliluna.de/258.html


Top
 Profile  
 
 Post subject:
PostPosted: Thu Feb 21, 2008 3:58 pm 
Newbie

Joined: Tue Mar 15, 2005 7:37 am
Posts: 16
This also happened to me when I was juggling data between two EntityManagers and did not correctly merge() between them - so I guess that this might occur in other detaching scenarios.


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 3 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.