You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Venkat <ve...@yahoo.com> on 2001/03/05 05:23:16 UTC

Copying Result set

Hi all

If this a repeated post, please excuse me as i could not find any useful
info from the archives

I am looking for info. on copying/inserting a resultset.  My case is I selct
a resultset which may contain about 10 columns with 10+ rows, and is
displayed, if the user choses to copy that, how can it be done? i tried to
put the result set in a hashtable and copy but,  is not happening

Can anybody give some tips/links on this

Thank you

Venkat


_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com


Re: Copying Result set

Posted by Andrew <as...@ezan.ac.ru>.
What kind of table do you mean?
<table/>/JTable/Object[][]/Vectors or other 2d structure?


----- Original Message -----
From: "Venkat" <ve...@yahoo.com>
To: <to...@jakarta.apache.org>
Sent: Tuesday, March 06, 2001 12:28 PM
Subject: Re: Copying Result set


> Andrew
>
> Thanx again, I am able to use CachedRowSet class now, it's working fine,
but
> i could not find a method to copy this set into the table, i have not used
> cloning previously, could you please advise how do i do that
>
> Thank you
>
> Venkat
> ----- Original Message -----
> From: "Venkat" <ve...@yahoo.com>
> To: <to...@jakarta.apache.org>
> Sent: Tuesday, March 06, 2001 4:14 PM
> Subject: Re: Copying Result set
>
>
> > Thank you Andrew for your advise
> >
> > I downloaded rowset.jar and jndi.jar and followed according to the
> > documentation, added classpath in tomcat classpath, but I am still
tomcat
> is
> > not able to look at sun.java.rowset classes and throwing error
> >
> > could  you please advise
> >
> > Thanks again
> >
> > Venkat
> >
> > ----- Original Message -----
> > From: "Andrew" <as...@ezan.ac.ru>
> > To: <to...@jakarta.apache.org>
> > Sent: Monday, March 05, 2001 7:51 PM
> > Subject: Re: Copying Result set
> >
> >
> > > Use CachedRowSet(clone() etc.) from:
> > > http://developer.java.sun.com/developer/earlyAccess/crs/
> > > ----- Original Message -----
> > > From: "Venkat" <ve...@yahoo.com>
> > > To: <to...@jakarta.apache.org>
> > > Sent: Monday, March 05, 2001 7:23 AM
> > > Subject: Copying Result set
> > >
> > >
> > > > Hi all
> > > >
> > > > If this a repeated post, please excuse me as i could not find any
> useful
> > > > info from the archives
> > > >
> > > > I am looking for info. on copying/inserting a resultset.  My case is
I
> > > selct
> > > > a resultset which may contain about 10 columns with 10+ rows, and is
> > > > displayed, if the user choses to copy that, how can it be done? i
> tried
> > to
> > > > put the result set in a hashtable and copy but,  is not happening
> > > >
> > > > Can anybody give some tips/links on this
> > > >
> > > > Thank you
> > > >
> > > > Venkat
> > > >
> > > >
> > > > _________________________________________________________
> > > > Do You Yahoo!?
> > > > Get your free @yahoo.com address at http://mail.yahoo.com
> > > >
> > > >
> > >
> ---------------------------------------------------------------------
> > > > To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
> > > > For additional commands, email: tomcat-user-help@jakarta.apache.org
> > > >
> > > >
> > >
> > >
> > > ---------------------------------------------------------------------
> > > To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
> > > For additional commands, email: tomcat-user-help@jakarta.apache.org
> >
> >
> > _________________________________________________________
> > Do You Yahoo!?
> > Get your free @yahoo.com address at http://mail.yahoo.com
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
> > For additional commands, email: tomcat-user-help@jakarta.apache.org
>
>
> _________________________________________________________
> Do You Yahoo!?
> Get your free @yahoo.com address at http://mail.yahoo.com
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
> For additional commands, email: tomcat-user-help@jakarta.apache.org
>
>


Re: Copying Result set

Posted by Venkat <ve...@yahoo.com>.
Andrew

Thanx again, I am able to use CachedRowSet class now, it's working fine, but
i could not find a method to copy this set into the table, i have not used
cloning previously, could you please advise how do i do that

Thank you

Venkat
----- Original Message -----
From: "Venkat" <ve...@yahoo.com>
To: <to...@jakarta.apache.org>
Sent: Tuesday, March 06, 2001 4:14 PM
Subject: Re: Copying Result set


> Thank you Andrew for your advise
>
> I downloaded rowset.jar and jndi.jar and followed according to the
> documentation, added classpath in tomcat classpath, but I am still tomcat
is
> not able to look at sun.java.rowset classes and throwing error
>
> could  you please advise
>
> Thanks again
>
> Venkat
>
> ----- Original Message -----
> From: "Andrew" <as...@ezan.ac.ru>
> To: <to...@jakarta.apache.org>
> Sent: Monday, March 05, 2001 7:51 PM
> Subject: Re: Copying Result set
>
>
> > Use CachedRowSet(clone() etc.) from:
> > http://developer.java.sun.com/developer/earlyAccess/crs/
> > ----- Original Message -----
> > From: "Venkat" <ve...@yahoo.com>
> > To: <to...@jakarta.apache.org>
> > Sent: Monday, March 05, 2001 7:23 AM
> > Subject: Copying Result set
> >
> >
> > > Hi all
> > >
> > > If this a repeated post, please excuse me as i could not find any
useful
> > > info from the archives
> > >
> > > I am looking for info. on copying/inserting a resultset.  My case is I
> > selct
> > > a resultset which may contain about 10 columns with 10+ rows, and is
> > > displayed, if the user choses to copy that, how can it be done? i
tried
> to
> > > put the result set in a hashtable and copy but,  is not happening
> > >
> > > Can anybody give some tips/links on this
> > >
> > > Thank you
> > >
> > > Venkat
> > >
> > >
> > > _________________________________________________________
> > > Do You Yahoo!?
> > > Get your free @yahoo.com address at http://mail.yahoo.com
> > >
> > >
> > > ---------------------------------------------------------------------
> > > To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
> > > For additional commands, email: tomcat-user-help@jakarta.apache.org
> > >
> > >
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
> > For additional commands, email: tomcat-user-help@jakarta.apache.org
>
>
> _________________________________________________________
> Do You Yahoo!?
> Get your free @yahoo.com address at http://mail.yahoo.com
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
> For additional commands, email: tomcat-user-help@jakarta.apache.org


_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com


Re: Copying Result set

Posted by Venkat <ve...@yahoo.com>.
Thank you Andrew for your advise

I downloaded rowset.jar and jndi.jar and followed according to the
documentation, added classpath in tomcat classpath, but I am still tomcat is
not able to look at sun.java.rowset classes and throwing error

could  you please advise

Thanks again

Venkat

----- Original Message -----
From: "Andrew" <as...@ezan.ac.ru>
To: <to...@jakarta.apache.org>
Sent: Monday, March 05, 2001 7:51 PM
Subject: Re: Copying Result set


> Use CachedRowSet(clone() etc.) from:
> http://developer.java.sun.com/developer/earlyAccess/crs/
> ----- Original Message -----
> From: "Venkat" <ve...@yahoo.com>
> To: <to...@jakarta.apache.org>
> Sent: Monday, March 05, 2001 7:23 AM
> Subject: Copying Result set
>
>
> > Hi all
> >
> > If this a repeated post, please excuse me as i could not find any useful
> > info from the archives
> >
> > I am looking for info. on copying/inserting a resultset.  My case is I
> selct
> > a resultset which may contain about 10 columns with 10+ rows, and is
> > displayed, if the user choses to copy that, how can it be done? i tried
to
> > put the result set in a hashtable and copy but,  is not happening
> >
> > Can anybody give some tips/links on this
> >
> > Thank you
> >
> > Venkat
> >
> >
> > _________________________________________________________
> > Do You Yahoo!?
> > Get your free @yahoo.com address at http://mail.yahoo.com
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
> > For additional commands, email: tomcat-user-help@jakarta.apache.org
> >
> >
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
> For additional commands, email: tomcat-user-help@jakarta.apache.org


_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com


Re: Copying Result set

Posted by Andrew <as...@ezan.ac.ru>.
Use CachedRowSet(clone() etc.) from:
http://developer.java.sun.com/developer/earlyAccess/crs/
----- Original Message -----
From: "Venkat" <ve...@yahoo.com>
To: <to...@jakarta.apache.org>
Sent: Monday, March 05, 2001 7:23 AM
Subject: Copying Result set


> Hi all
>
> If this a repeated post, please excuse me as i could not find any useful
> info from the archives
>
> I am looking for info. on copying/inserting a resultset.  My case is I
selct
> a resultset which may contain about 10 columns with 10+ rows, and is
> displayed, if the user choses to copy that, how can it be done? i tried to
> put the result set in a hashtable and copy but,  is not happening
>
> Can anybody give some tips/links on this
>
> Thank you
>
> Venkat
>
>
> _________________________________________________________
> Do You Yahoo!?
> Get your free @yahoo.com address at http://mail.yahoo.com
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
> For additional commands, email: tomcat-user-help@jakarta.apache.org
>
>