Return-Path: Delivered-To: apmail-db-derby-dev-archive@www.apache.org Received: (qmail 23986 invoked from network); 7 Mar 2006 13:43:48 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 7 Mar 2006 13:43:48 -0000 Received: (qmail 81511 invoked by uid 500); 7 Mar 2006 13:43:47 -0000 Delivered-To: apmail-db-derby-dev-archive@db.apache.org Received: (qmail 81476 invoked by uid 500); 7 Mar 2006 13:43:46 -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 81461 invoked by uid 99); 7 Mar 2006 13:43:46 -0000 X-ASF-Spam-Status: No, hits=1.3 required=10.0 tests=SPF_FAIL X-Spam-Check-By: apache.org Received: from [192.87.106.226] (HELO ajax) (192.87.106.226) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 07 Mar 2006 05:43:46 -0800 Received: from ajax (localhost.localdomain [127.0.0.1]) by ajax (Postfix) with ESMTP id 525E16ACAE for ; Tue, 7 Mar 2006 13:42:40 +0000 (GMT) Message-ID: <1798867575.1141738960334.JavaMail.jira@ajax> Date: Tue, 7 Mar 2006 13:42:40 +0000 (GMT) From: "Andreas Korneliussen (JIRA)" To: derby-dev@db.apache.org Subject: [jira] Commented: (DERBY-1067) support holdable Scrollable Updatable Resultsets In-Reply-To: <895488406.1141137101086.JavaMail.jira@ajax.apache.org> 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-1067?page=comments#action_12369228 ] Andreas Korneliussen commented on DERBY-1067: --------------------------------------------- I have been thinking about the testing of this feature. I have already submitted a set of tests in HoldabilityTest.junit, which tests this feature as soon as SUR (DERBY-690) gets reviewed and committed. The test is a pure jdbc test. However, maybe it would be cleaner if the related store code from DERBY-690 gets moved into this issue ? Then I could write pure store unit tests. DERBY-690 extends the ScanController with a method called positionAtRowLocation(..). It is in this method one would need to check the rowLocationsInvalidated flag. A store unit test could i.e do the following: 1. Open a scan 2. scan forward, and remeber some RowLocations 3. reposition the scan using positionAtRowLocation(..). The holdability case would be: 1. Open a scan 2. scan forward, and remeber some RowLocations 3. Commit the transaction 4. Run compress on the container 5. assert that positionAtRowLocation(..) returns false This would also make the DERBY-690 patch even cleaner. > support holdable Scrollable Updatable Resultsets > ------------------------------------------------ > > Key: DERBY-1067 > URL: http://issues.apache.org/jira/browse/DERBY-1067 > Project: Derby > Type: Sub-task > Reporter: Andreas Korneliussen > Assignee: Andreas Korneliussen > Attachments: DERBY-1067.diff, DERBY-1067.stat > -- 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