[hibernate-users] Batch update returned unexpected row count from update
Douglas Ferguson
douglas at douglasferguson.us
Thu Jun 3 04:25:06 EDT 2010
Hi,
I see this from time to time and although the message seems obvious, I'm a bit perplexed as to how this could happen. Are there any potential things I should be considering when I see this?
D/
<span style="visibility: hidden;" wicketpath="form_hiddenStackTrace">org.hibernate.StaleStateException:Batch update returned unexpected row count from update [1]; actual row count: 0; expected: 1 org.hibernate.jdbc.Expectations$BasicExpectation.checkBatched(Expectations.java:85)
org.hibernate.jdbc.Expectations$BasicExpectation.verifyOutcome(Expectations.java:70)
org.hibernate.jdbc.BatchingBatcher.checkRowCounts(BatchingBatcher.java:90)
org.hibernate.jdbc.BatchingBatcher.doExecuteBatch(BatchingBatcher.java:70)
org.hibernate.jdbc.AbstractBatcher.executeBatch(AbstractBatcher.java:268)
org.hibernate.jdbc.AbstractBatcher.prepareStatement(AbstractBatcher.java:114)
More information about the hibernate-users
mailing list