|
composite-id and hibernate
Hello I have the following problem:
I have a composite-id with 4 fields, they belong to a multitable;inside of this fields I have to update two dates
to do this I obtain the entity, then I modify them from facade and I send them again to the service.update..
it returns me this:
R org.hibernate.HibernateException: Unexpected row count: 0 expected: 1
at org.hibernate.jdbc.NonBatchingBatcher.addToBatch(N onBatchingBatcher.java:32)
regards
|