Joined: Mon Mar 13, 2006 3:46 pm Posts: 1
|
Hibernate version: 3.0
I am using optimistic concurrency with version control using timestamp with oracle 9i.
When I delete a entity, hibernate generates first an update statement updating the timestamp before generating the delete statement.
So basically every delete statement is accompanied by an update statment which is increasing then number of calls to the database.
Can anybody has an idea of why this is happening? Is there a way to force hibernate to issue only one delete statement.
Thanks
Spr
|
|