beehive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Carlin Rogers (JIRA)" <j...@apache.org>
Subject [jira] Resolved: (BEEHIVE-1206) netui databinding iterator does not support Rowset, but javadoc says it does
Date Tue, 11 Dec 2007 23:55:43 GMT

     [ 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.


Mime
View raw message