Return-Path: Delivered-To: apmail-db-derby-dev-archive@www.apache.org Received: (qmail 21424 invoked from network); 6 Mar 2006 11:25:51 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 6 Mar 2006 11:25:51 -0000 Received: (qmail 84036 invoked by uid 500); 6 Mar 2006 11:26:37 -0000 Delivered-To: apmail-db-derby-dev-archive@db.apache.org Received: (qmail 83790 invoked by uid 500); 6 Mar 2006 11:26:35 -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 83780 invoked by uid 99); 6 Mar 2006 11:26:35 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 06 Mar 2006 03:26:35 -0800 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=UNPARSEABLE_RELAY X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: local policy) Received: from [192.18.98.34] (HELO brmea-mail-3.sun.com) (192.18.98.34) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 06 Mar 2006 03:26:35 -0800 Received: from phys-gadget-1 ([129.156.85.171]) by brmea-mail-3.sun.com (8.12.10/8.12.9) with ESMTP id k26BPSRp008689 for ; Mon, 6 Mar 2006 04:26:14 -0700 (MST) Received: from conversion-daemon.gadget-mail1.uk.sun.com by gadget-mail1.uk.sun.com (iPlanet Messaging Server 5.2 HotFix 1.24 (built Dec 19 2003)) id <0IVP00F01E31AF@gadget-mail1.uk.sun.com> (original mail from Fernanda.Pizzorno@Sun.COM) for derby-dev@db.apache.org; Mon, 06 Mar 2006 11:26:11 +0000 (GMT) Received: from [129.159.112.237] (khepri25.Norway.Sun.COM [129.159.112.237]) by gadget-mail1.uk.sun.com (iPlanet Messaging Server 5.2 HotFix 1.24 (built Dec 19 2003)) with ESMTPA id <0IVP00IQTECMWE@gadget-mail1.uk.sun.com> for derby-dev@db.apache.org; Mon, 06 Mar 2006 11:24:23 +0000 (GMT) Date: Mon, 06 Mar 2006 12:24:21 +0100 From: Fernanda Pizzorno Subject: Re: Subject: Detectability of updates in DRDA In-reply-to: <440B79DB.10302@amberpoint.com> To: derby-dev@db.apache.org Message-id: <440C1BE5.60206@sun.com> MIME-version: 1.0 Content-type: text/plain; charset=ISO-8859-1; format=flowed Content-transfer-encoding: 7BIT X-Accept-Language: en-us, en User-Agent: Mozilla Thunderbird 1.0.7 (X11/20050930) References: <4408630D.5070900@sun.com> <440B79DB.10302@amberpoint.com> X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Bryan Pendleton wrote: >> For updates, is is not exactly what we want, since we do not intend to >> requalify a row after it has been updated (thereby possibly making it >> an "update hole"). > > > Would it be possible for you to expand on this? I've read through your > message several times, and I've also read through Appendix B of DRDA V.1 > several times, and I'm still struggling to understand the details here. > > If you could perhaps just give a short example of a table with a couple > rows, and a cursor which has this problem, so that I can understand > this better, I'd be most grateful. > > thanks, > > bryan > > We want to scrollable insensitive updatable result sets to be able to detect own updates. So the JDBC ResultSet.rowUpdated() method should return true if the row has been visibly updated by the owner or someone else. If we have the following result set: ID Name -- ------------------ 1 Fernanda we update the name: ID Name -- ------------------ 1 Fernanda Pizzorno if we later call the rowUpdated() method while positioned on the updated row, this method should return true. What we are looking for is a mechanism that we can use to implement the ResultSet#rowUpdated() method. Fernanda