List Info

Thread: Re: (Very very urgent)Sorting a resultset after cl osing the connection




Re: (Very very urgent)Sorting a resultset after cl osing the connection
user name
2007-04-17 18:11:58
first i got the data into a cachedRowSet coz i dont wana
keep the DB
connection opend for a long time
2nd: why not to do the sort in the DB coz i don't wanna open
connection
every  time i want to sort coz i m binding this cachedRowSet
into a grid  &
the end user can suppose to have easily sort by any column
any time & i m
useing a grid have no sort i have to do my self

============================================================
===============
To unsubscribe: mailto listservjava.sun.com with body:
"signoff JSP-INTEREST".
For digest: mailto listservjava.sun.com with body:
"set JSP-INTEREST DIGEST".

Some relevant archives, FAQs and Forums on JSPs can be found
at:

 http://java.sun.com/
products/jsp
 http:/
/archives.java.sun.com/jsp-interest.html
 http://forums.java.sun.com

 http://www.jspinsider.com

Re: (Very very urgent)Sorting a resultset after cl osing the connection
user name
2007-04-18 07:16:19
How many rows are you returning? How many columns?

-Richard


Mohammad Metwally wrote:
> first i got the data into a cachedRowSet coz i dont
wana keep the DB
> connection opend for a long time
> 2nd: why not to do the sort in the DB coz i don't wanna
open connection
> every  time i want to sort coz i m binding this
cachedRowSet into a grid  &
> the end user can suppose to have easily sort by any
column any time & i m
> useing a grid have no sort i have to do my self
>
>
============================================================
===============
> To unsubscribe: mailto listservjava.sun.com with body:
"signoff JSP-INTEREST".
> For digest: mailto listservjava.sun.com with body:
"set JSP-INTEREST DIGEST".
>
> Some relevant archives, FAQs and Forums on JSPs can be
found at:
>
>  http://java.sun.com/
products/jsp
>  http:/
/archives.java.sun.com/jsp-interest.html
>  http://forums.java.sun.com

>  http://www.jspinsider.com
>
>
>

============================================================
===============
To unsubscribe: mailto listservjava.sun.com with body:
"signoff JSP-INTEREST".
For digest: mailto listservjava.sun.com with body:
"set JSP-INTEREST DIGEST".

Some relevant archives, FAQs and Forums on JSPs can be found
at:

 http://java.sun.com/
products/jsp
 http:/
/archives.java.sun.com/jsp-interest.html
 http://forums.java.sun.com

 http://www.jspinsider.com

[1-2]

about | contact  Other archives ( Real Estate discussion Medical topics )