Return-Path: Delivered-To: apmail-db-derby-dev-archive@www.apache.org Received: (qmail 97399 invoked from network); 18 May 2006 23:10:44 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 18 May 2006 23:10:44 -0000 Received: (qmail 50941 invoked by uid 500); 18 May 2006 23:10:42 -0000 Delivered-To: apmail-db-derby-dev-archive@db.apache.org Received: (qmail 50458 invoked by uid 500); 18 May 2006 23:10:41 -0000 Mailing-List: contact derby-dev-help@db.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: Delivered-To: mailing list derby-dev@db.apache.org Received: (qmail 50104 invoked by uid 99); 18 May 2006 23:10:40 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 18 May 2006 16:10:40 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [209.237.227.198] (HELO brutus.apache.org) (209.237.227.198) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 18 May 2006 16:10:39 -0700 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 20EBE7142BE for ; Thu, 18 May 2006 23:10:08 +0000 (GMT) Message-ID: <20522926.1147993808132.JavaMail.jira@brutus> Date: Thu, 18 May 2006 23:10:08 +0000 (GMT+00:00) From: "Dag H. Wanvik (JIRA)" To: derby-dev@db.apache.org Subject: [jira] Updated: (DERBY-1323) Detectability methods rowUpdated, rowInserted, rowDeleted can be called from illegal states in both clients In-Reply-To: <2025913.1147445528571.JavaMail.root@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N [ http://issues.apache.org/jira/browse/DERBY-1323?page=all ] Dag H. Wanvik updated DERBY-1323: --------------------------------- Attachment: DERBY-1323-2.stat DERBY-1323-2.diff This is version 2 of this patch. It addresses both comments of Fernanda's review. Changes were only made to client code and SURTest.java, so i ran derbynetclientmats again as well as SURTest on embedded without problems(*). (*) derbynetclientmats failed on NSinSameJVM.java and DerbyNetNewServer, though - I don't think it is related; I ran on a sane build from the classes directory with Sun JDK 1.5. > Detectability methods rowUpdated, rowInserted, rowDeleted can be called from illegal states in both clients > ----------------------------------------------------------------------------------------------------------- > > Key: DERBY-1323 > URL: http://issues.apache.org/jira/browse/DERBY-1323 > Project: Derby > Type: Bug > Components: JDBC, Network Client > Versions: 10.2.0.0 > Reporter: Dag H. Wanvik > Priority: Minor > Fix For: 10.2.0.0 > Attachments: DERBY-1323-1.diff, DERBY-1323-1.stat, DERBY-1323-2.diff, DERBY-1323-2.stat, Main.java > > Please see enclosed repro. > These detectability methods fail to check that they can be called in > some states. In the repro, calls are allowed while on insert row and > when after last row. These should both fail. Both clients have the > same problem. All three detectability methods have the same problem. > (repro only shows it for a subset of the cases). -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira