Rollback not processed correctly on optimistic locking exceptions
-----------------------------------------------------------------

         Key: CAY-557
         URL: http://issues.apache.org/cayenne/browse/CAY-557
     Project: Cayenne
        Type: Bug

  Components: Cayenne Core Library  
    Versions: 1.2 [BETA]    
    Reporter: Andrus Adamchik
 Assigned to: Andrus Adamchik 
     Fix For: 1.2 [BETA]


When a valid OptimisticLockException is thrown, an attempt to rollback current 
transaction incorrectly throws its own IllegalStateException... What's worse, 
the later exception is swallowed by Cayenne, so the rollback is never 
processed. Oddly, the only database that had problems with it was OpenBase - 
that's how I discovered it. I'll be checking the fix shortly.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/cayenne/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira

Reply via email to