"Craig R. McClanahan" wrote:
> (5) Implement a convenient way to convert a java.sql.ResultSet (or RowSet)
>     into a series of DynaBeans, where the corresponding DynaClass is
>     synthesized based on the metadata of the result set.

Craig, 

If you haven't seen it, I've done some work on a class that converts a
ResultSet to a Collection of arbitrary beans, using reflection and
metadata. See 

Collection getCollection(Object target, ResultSet resultSet)

in the scaffold.sql.ResultSetUtils class in Struts contrib. 

There is also a snapshot here:

http://husted.com/struts/resources/scaffold.zip


-- Ted Husted, Husted dot Com, Fairport NY USA.
-- Building Java web applications with Struts.
-- Tel +1 585 737-3463.
-- Web http://www.husted.com/struts/

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to