RE: Struts 1.1 To-Do - RowSets

2001-07-11 Thread Craig R. McClanahan
On Wed, 11 Jul 2001, Immanuel, Gidado-Yisa wrote: > Hi Craig, > > > NOTE: if you decide to go this way, I'd prefer that the work be > > done on the commons version of these classes. I want to migrate > > Struts 1.1 to these (as soon as I go create releases over there). > > Sorry to bu

RE: Struts 1.1 To-Do - RowSets

2001-07-11 Thread Immanuel, Gidado-Yisa
Hi Craig, > NOTE: if you decide to go this way, I'd prefer that the work be > done on the commons version of these classes. I want to migrate > Struts 1.1 to these (as soon as I go create releases over there). Sorry to bug you (I know you've been busy with Tomcat, Struts, JavaOne [what e

Re: Struts 1.1 To-Do - RowSets

2001-07-08 Thread Ted Husted
Now that I've started to use the RowSet version of the dbTag ResultSet tags, I'm finding them very useful. It starts out like the logic:iterator/bean:write duo, but offers several other useful options: * A loop property, to display one column and stop. * A colName property to retrieve the value

Re: Struts 1.1 To-Do - RowSets

2001-07-08 Thread Jonathan Asbell
Why dont you wrap rowsets like you do with Multipart Request. ?? - Original Message - From: "Craig R. McClanahan" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Saturday, July 07, 2001 5:30 PM Subject: Re: Struts 1.1 To-Do - RowSets > > > On Sa

Re[2]: Struts 1.1 To-Do - RowSets

2001-07-08 Thread Oleg V Alexeev
Hello Ted, I try to use your RowSet wrapper as iterator for logic:iterate and all is ok (I use CachedRowSet though for disconnected RowSet implementation). To show values from RowSet I use bean:write tags - Of course it is not so usable to place column indexes to the attribute value, but

Re: Struts 1.1 To-Do - RowSets

2001-07-07 Thread Craig R. McClanahan
On Sat, 7 Jul 2001, Ted Husted wrote: > Do we need to worry about the implementation? > > Can't we just write against javax.sql.RowSet, and leave the > implementation up to the developer? > In other words, make them go download the CachedRowSet early access (or some other implementation) t

Re: Struts 1.1 To-Do - RowSets

2001-07-07 Thread Craig R. McClanahan
On Sat, 7 Jul 2001, Ted Husted wrote: > "Craig R. McClanahan" wrote: > > An important consideration if you use real ResultSets is in how to ensure > > that the ResultSet (and the corresponding Statement) are closed, and the > > underlying connection returned to the connection pool. It might be

Re: Struts 1.1 To-Do - RowSets

2001-07-07 Thread Ted Husted
So now that I've spent some quality time with it, I've finding that Bill Pfeiffer's rowSet tag plays well with the Struts tags. < http://husted.com/about/struts/rowsettags.htm > I had to make a modification so that it would work with request scope (rather than page scope), but it's doing the jo

Re: Struts 1.1 To-Do - RowSets

2001-07-07 Thread Ted Husted
Do we need to worry about the implementation? Can't we just write against javax.sql.RowSet, and leave the implementation up to the developer? "Craig R. McClanahan" wrote: > In the short term, it might make sense for somebody to write a > javax.sql.RowSet implementation for a "read only" RowSet.

Re: Struts 1.1 To-Do - RowSets

2001-07-07 Thread Ted Husted
"Craig R. McClanahan" wrote: > An important consideration if you use real ResultSets is in how to ensure > that the ResultSet (and the corresponding Statement) are closed, and the > underlying connection returned to the connection pool. It might be best > to mandate the use of RowSet instead, so

Re: Struts 1.1 To-Do - RowSets

2001-07-07 Thread Craig R. McClanahan
On Sat, 7 Jul 2001, Craig R. McClanahan wrote: > (Note to self -- check the redistribution terms > on the Sun CachedRowSet implementation). > Grumble grumble ... as I suspected, it's an "evaluation only" license because it's early access. In the short term, it might make sense for somebody t

Re: Struts 1.1 To-Do - RowSets

2001-07-07 Thread Craig R. McClanahan
On Sat, 7 Jul 2001, Ted Husted wrote: > "JDBC RowSet Support. Update all of the relevant tags to get and set > attributes from a JDBC RowSet (or ResultSet) object ... " > > So, I'm itching to do something about this. I've been wrapping my > RowSets up in iterators and conventional JB facades,

Re: Struts 1.1 To-Do - RowSets

2001-07-07 Thread Ted Husted
"JDBC RowSet Support. Update all of the relevant tags to get and set attributes from a JDBC RowSet (or ResultSet) object ... " So, I'm itching to do something about this. I've been wrapping my RowSets up in iterators and conventional JB facades, but it's like way too much work. I'm just getting