[JIRA] Created: (CAY-557) Rollback not processed correctly on optimistic locking exceptions

From: Andrus Adamchik (JIRA) ("Andrus)
Date: Tue May 30 2006 - 17:53:07 EDT

  • Next message: Marcel (JIRA): "[JIRA] Created: (CAY-558) cayenne-rop"

    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
    



    This archive was generated by hypermail 2.0.0 : Tue May 30 2006 - 17:53:59 EDT