i tried to use the RowsetDynaclass but i am getting a strange problems. i already put this in the bug list. right now i cannot use this rowsetdynaclass. if you can help me out
in this regard you are welcome. i don't know when this bug will be solved.
Thanks
usha
Vic Cekvenich wrote:
Craig R. McClanahan wrote:On Tue, 11 Feb 2003, usha wrote:Date: Tue, 11 Feb 2003 11:22:47 +0800 From: usha <[EMAIL PROTECTED]> Reply-To: Struts Users Mailing List <[EMAIL PROTECTED]> To: [EMAIL PROTECTED] Subject: ResultsetDyna class Hi i have a small question i wanted to know when we create the resultsetdyna class. is it that result is closed and we can close the result set after returning th e iterator.
With ResultSetDynaClass, the ResultSet is not closed -- you must close the
ResultSet yourself when you are through iterating over the rows. Thus, it
is only useful within a business logic class that is pulling stuff out of
the results. The upside is that no copying of the data is done.
With RowSetDynaClass (added in a recent nightly build), the data is copied
in to a set of DynaBeans in memory, after which you can close the result
set and iterate over the rows as many times as you like. This is a good
way to transport data to your JSP page, because the Struts tags can handle
lists of DynaBeans just fine.
The JavaDocs for both of these classes include complete usage information,
and are available online:
http://jakarta.apache.org/commons/beanutils/api/
Thanks ushaCraig
I must say that I have been arguing for the RowSet against ResultSet a long time.
Thanks.
.V
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

