jakarta-taglibs-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ciot, Thierry" <thierry.c...@compuware.com>
Subject RE: DBTags and scrollable result sets
Date Tue, 24 Jul 2001 13:48:33 GMT
I would think it is a very useful feature.  Right now I am looking at how to
display rows using a "paging" mechanism (that is, for example, 10 rows at a
time).

How would you go about doing this with the current tag lib?

With scrollable record set we could have something like:

<jdbc:connection id="conn1">
  <jdbc:url>jdbc:odbc:test</jdbc:url>
  <jdbc:driver>sun.jdbc.odbc.JdbcOdbcDriver</jdbc:driver>
</jdbc:connection>

<jdbc:statement id="stmt1" conn="conn1">
  <jdbc:query><%= query %></jdbc:query>
  <jdbc:resultSet id="myRS" loop="true" beginat="20" endat="30">
    	<tr>
      	<td><jdbc:getColumn position="3"/></td>
      	<td><jdbc:getColumn position="1"/></td>
    	</tr>
  </jdbc:resultSet>
</jdbc:statement>


What do you think?

Thierry.

-----Original Message-----
From: Morgan Delagrange [mailto:morgan24@rcnchicago.com]
Sent: Monday, July 23, 2001 12:05 AM
To: {thierry.ciot@compuware.com; taglibs-dev@jakarta.apache.org
Subject: Re: DBTags and scrollable result sets



Ciot, Thierry wrote on 7/20/01 2:38 pm:

>Hi,
> 
>Is there any plan to add 
>scrollable result sets support 
>in DBTags?
> 
>Thanks, Thierry.

Nothing definite.  :)  That specific feature hasn't actually come up as of
yet, but it does sound like a good one.

Morgan

Mime
View raw message