Return-Path: Delivered-To: apmail-beehive-dev-archive@www.apache.org Received: (qmail 89387 invoked from network); 12 Dec 2007 00:48:05 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 12 Dec 2007 00:48:05 -0000 Received: (qmail 95331 invoked by uid 500); 12 Dec 2007 00:47:54 -0000 Delivered-To: apmail-beehive-dev-archive@beehive.apache.org Received: (qmail 95175 invoked by uid 500); 12 Dec 2007 00:47:53 -0000 Mailing-List: contact dev-help@beehive.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Beehive Developers" Delivered-To: mailing list dev@beehive.apache.org Delivered-To: moderator for dev@beehive.apache.org Received: (qmail 37508 invoked by uid 99); 11 Dec 2007 23:55:52 -0000 X-ASF-Spam-Status: No, hits=-100.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Message-ID: <13534435.1197417343036.JavaMail.jira@brutus> Date: Tue, 11 Dec 2007 15:55:43 -0800 (PST) From: "Carlin Rogers (JIRA)" To: dev@beehive.apache.org Subject: [jira] Resolved: (BEEHIVE-1206) netui databinding iterator does not support Rowset, but javadoc says it does In-Reply-To: <19414829.1191343250601.JavaMail.jira@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 [ https://issues.apache.org/jira/browse/BEEHIVE-1206?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Carlin Rogers resolved BEEHIVE-1206. ------------------------------------ Resolution: Fixed Assignee: Julie Zhuo (was: Carlin Rogers) Thanks for the patch Jacob. I submitted it into SVN. See revision 603418. > netui databinding iterator does not support Rowset, but javadoc says it does > ---------------------------------------------------------------------------- > > Key: BEEHIVE-1206 > URL: https://issues.apache.org/jira/browse/BEEHIVE-1206 > Project: Beehive > Issue Type: Bug > Components: NetUI > Affects Versions: 1.0.2 > Reporter: Jacob Danner > Assignee: Julie Zhuo > Priority: Minor > Fix For: V.Next > > Attachments: beehive1206.patch > > > The javadoc for the netui mentions the Rowset is an acceptable java object > http://beehive.apache.org/docs/1.0.2/netui/apidocs/javadoc/org/apache/beehive/netui/util/iterator/IteratorFactory.html > however the code in the IteratorFactory does not handle the Rowset properly. It uses teh AtomicTypeIterator and the Rowset is unable to look up the results of the query properly. > Here is the logic that prevents Rowset from being used properly. > else if(object instanceof ResultSet && !(object instanceof RowSet)) > return new ResultSetIterator((ResultSet)object); > I'm not sure why Rowset is explicity disabled here, but since Rowset extends ResultSet it seems changing this logic would be the simplest thing to do. > Below is an example of the kind of error one might receive if they try to use a rowset. In the below error text, bugID is a field from the database table that was queried. > Cannot find PropertyDescriptor for 'BUG_ID' for bean 'class com.sun.rowset.CachedRowSetImpl'. > Has anyone else on the list, noticed this issue -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.