Return-Path: X-Original-To: apmail-openjpa-dev-archive@www.apache.org Delivered-To: apmail-openjpa-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id E97AFF6CB for ; Thu, 28 Mar 2013 15:31:16 +0000 (UTC) Received: (qmail 13151 invoked by uid 500); 28 Mar 2013 15:31:16 -0000 Delivered-To: apmail-openjpa-dev-archive@openjpa.apache.org Received: (qmail 13064 invoked by uid 500); 28 Mar 2013 15:31:16 -0000 Mailing-List: contact dev-help@openjpa.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@openjpa.apache.org Delivered-To: mailing list dev@openjpa.apache.org Received: (qmail 12934 invoked by uid 99); 28 Mar 2013 15:31:15 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 28 Mar 2013 15:31:15 +0000 Date: Thu, 28 Mar 2013 15:31:15 +0000 (UTC) From: "Pinaki Poddar (JIRA)" To: dev@openjpa.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (OPENJPA-1160) Failed transactions must generate more focussed (and accurate) message for the cause MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/OPENJPA-1160?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Pinaki Poddar updated OPENJPA-1160: ----------------------------------- Fix Version/s: 2.0.0 > 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 > Fix For: 2.0.0 > > > 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. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira