You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@openjpa.apache.org by "Pinaki Poddar (JIRA)" <ji...@apache.org> on 2009/07/06 17:51:14 UTC

[jira] Created: (OPENJPA-1160) Failed transactions must generate more focussed (and accurate) message for the cause

Failed transactions must generate more focussed (and accurate) message for the cause
------------------------------------------------------------------------------------

                 Key: OPENJPA-1160
                 URL: https://issues.apache.org/jira/browse/OPENJPA-1160
             Project: OpenJPA
          Issue Type: Bug
          Components: kernel
            Reporter: Pinaki Poddar


OptimisticException is overused as a generic cause of many kinds of failure during a commit or flush (which at times are not directly related to a optimistic concurrency violation per se).
Given that the error message is often the first handle to analyze a fault, we should 
a) analyze all places that raise OptimisticLockexception 
b) attempt to narrow the exception or at least provide a differentiated message for the cause to the user

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.