Hibernate version: 3.4 annotation
exception that occurs: org.hibernate.StaleStateException: Batch update returned unexpected row count from update [0]; actual row count: 0; expected: 1
Name and version of the database you are using: postgres 8.3
I implemented partitioned table in postgres using trigger. When i try to insert a new object in the master table, the trigger redirect the insert into the child table, but the affected rows in the master table returned by postgres server are 0, so hibernate lunch the StaleStateException.
Any suggestions?
Sorry for my English..
Thanks
|