i have a problem using hibernate with postgresql database...the problem occurs when hibernate tries batch insert into postgresql partition...
actual stacktrace is here...
57286 [pool-1-thread-18] ERROR org.hibernate.jdbc.AbstractBatcher - Exception executing batch:
org.hibernate.StaleStateException: Batch update returned unexpected row count from update [0]; actual row count: 0; expected: 1
at org.hibernate.jdbc.Expectations$BasicExpectation.checkBatched(Expectations.java:61)
at org.hibernate.jdbc.Expectations$BasicExpectation.verifyOutcome(Expectations.java:46)
at org.hibernate.jdbc.BatchingBatcher.checkRowCounts(BatchingBatcher.java:68)....
i have found this link
http://lists.jboss.org/pipermail/hibern ... 02771.html but i can't find anywhere on the web is this problem solved or how it can be get around
nikola