1. hibernate - while updating NonUniqueObjectException with pessimistic lock "upgrade" stackoverflow.comhibernate 3.6.0 final
i have used pessimistic-lock
LockOptions - because LockMode is not working i.e "select ... for update" "for update" is not generating in sql that's why.
at ... |
2. Inheritance Mapping - Concurrency issues forum.hibernate.orgHi, I have read the documentation atleast 3-4 times, but couldn't get a nice solution for my problem. I have two tables tableA and tableB tableA: tableA_id tableA_col1 tableA_col2 and tableB tableB_id tableA_id tableB_col1 tableB_col2 I have POJOs (ObjectA and ObjectB) representing these two tables. Now my question is, I want to have ObjectB extenf ObjectA and whenever I create an ... |
3. Deadlocks on Object with One to Many Map - MS SQLServer forum.hibernate.orgNewbie Joined: Wed Nov 10, 2004 1:10 pm Posts: 2 I have an object (WorkflowProcessStatus) that contains a map with a one-to-many relationship. The child object (ProcessActivitySetStatus) also has a map with a one-to-many relationship. When running multiple users (i.e. multiple threads), I get database deadlocks on updating the WorkflowProcessStatus. The deadlock occurs on the table containing the WorkflowProcessStatus map to ... |
4. Deadlocks mapped to common exception? forum.hibernate.orgFolks, can anyone tell me if Hibernate is able to find out that a certain SQL exception really is a deadlock exception and maps it to another common one (DeadlockException)? This would be very helpful to repeat a deadlocked transaction. Of couse this would require different implementations for differents dbs... Judging from Hibernate code and posts on this list there is ... |
5. Mapping same object twice in same transaction forum.hibernate.org |