Return-Path: X-Original-To: apmail-db-torque-dev-archive@www.apache.org Delivered-To: apmail-db-torque-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 73BAAD6B4 for ; Tue, 16 Oct 2012 21:09:04 +0000 (UTC) Received: (qmail 16519 invoked by uid 500); 16 Oct 2012 21:09:04 -0000 Delivered-To: apmail-db-torque-dev-archive@db.apache.org Received: (qmail 16476 invoked by uid 500); 16 Oct 2012 21:09:04 -0000 Mailing-List: contact torque-dev-help@db.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "Apache Torque Developers List" Reply-To: "Apache Torque Developers List" Delivered-To: mailing list torque-dev@db.apache.org Received: (qmail 16466 invoked by uid 99); 16 Oct 2012 21:09:04 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 16 Oct 2012 21:09:04 +0000 Date: Tue, 16 Oct 2012 21:09:04 +0000 (UTC) From: "Thomas Fox (JIRA)" To: torque-dev@db.apache.org Message-ID: <17742523.53519.1350421744333.JavaMail.jiratomcat@arcas> In-Reply-To: <907564805.25538.1349952302649.JavaMail.jiratomcat@arcas> Subject: [jira] [Resolved] (TORQUE-233) Exception translation 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/TORQUE-233?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Thomas Fox resolved TORQUE-233. ------------------------------- Resolution: Fixed Fix Version/s: 4.0-beta2 Assignee: Thomas Fox Deadlock detection does not work for hsqldb, I have not been able to produce a deadlock detected by hsqldb, the classical case for table-based locking(write table 1 transaction1, write table 2 in transaction 2, write teable 2 in transaction 1, write table1 in transaction 2) just waits indefinitely with no deadlock detected. Everything else works. > Exception translation > --------------------- > > Key: TORQUE-233 > URL: https://issues.apache.org/jira/browse/TORQUE-233 > Project: Torque > Issue Type: Wish > Components: Runtime > Affects Versions: 4.0-beta1 > Reporter: Thomas Fox > Assignee: Thomas Fox > Fix For: 4.0-beta2 > > > Currently, there is no portable way to determine the reason of an Exception. > E.g. if an exception occurs during saving, it could be due to a unique key violation. > It would be nice such a Violation would result in a special subclass of TorqueException, so the reason could be determined in a way portable across databasess > (Currently one can look at the root cause of the Torque exception and then e.g. form ysql check whether it's a MySQLIntegrityConstraintViolationException, but of course this is not portable across databases) -- 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 --------------------------------------------------------------------- To unsubscribe, e-mail: torque-dev-unsubscribe@db.apache.org For additional commands, e-mail: torque-dev-help@db.apache.org