|
From: Rod J. <ro...@in...> - 2005-03-21 10:24:15
|
Excellent. This is definitely a good feature to have, particularly for
web apps that are just "window on data" style, where domain objects
don't add a great deal of value.
Thomas Risberg wrote:
> I have moved the JDBC RowSet support over from the Sandbox. I will be
> adding more JavaDocs and some tests later today - just wanted to get the
> initial support committed.
>
> Here is a brief usage sample:
>
> SqlRowSet rset = getJdbcTemplate().queryForRowSet(
> "select id, name from mytest where id > ? and name < ?",
> new Object[] {new Long(1), "Z"});
> int i = 0;
> while (rset.next()) {
> i++;
> System.out.println("Row" + i + " " + rset.getString(2));
> }
>
> Thomas
>
>
>
>
> -------------------------------------------------------
> SF email is sponsored by - The IT Product Guide
> Read honest & candid reviews on hundreds of IT Products from real users.
> Discover which products truly live up to the hype. Start reading now.
> http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
> _______________________________________________
> Springframework-developer mailing list
> Spr...@li...
> https://lists.sourceforge.net/lists/listinfo/springframework-developer
>
--
Rod Johnson
Interface21 - Spring Services from the Source
http://www.springframework.com
Founder, Spring Framework:
http://www.springframework.org
Author, "Expert One-on-One J2EE Development Without EJB"
(May 2004, with Juergen Hoeller).
http://www.amazon.com/exec/obidos/ASIN/0764558315/
Author, "Expert One-on-One J2EE Design and Development"
(October 2002).
http://www.amazon.com/exec/obidos/tg/detail/-/0764543857/
____________________________________________________
Interface21 Limited
Registered Office Summit House, 2-2a Highfield Road, Dartford, Kent DA1 2JY
Registered in England and Wales No. 5187766
____________________________________________________
|