| Register | FAQ | Calendar | Search | Today's Posts | Mark Forums Read |
|
#1
| |||
| |||
| Hi! How would you save data from a SQL-query for later use? Is RowSet an option? I know this is a broad question, but I would like some opinions on the subject. Regards, Jesper |
|
#2
| |||
| |||
| On 27 Oct 2004 11:01:10 -0700, jespersahner@hotmail.com (Jesper Sahner) wrote: >Hi! > >How would you save data from a SQL-query for later use? >Is RowSet an option? > >I know this is a broad question, but I would like some opinions on the subject. Well, depends on the requirements, but I generally have a java object that maps to the columns of a particular rowset. If there are multiple rows, then I have one object per row then save in a collection, such as a Map or List... -- now with more cowbell |
|
#3
| |||
| |||
| On 27 Oct 2004, jespersahner@hotmail.com wrote: > Hi! > > How would you save data from a SQL-query for later use? > Is RowSet an option? I wouldn't until it is shown that the trips to the database are too expensive. -- Galen Boyer |
|
#4
| |||
| |||
| "Jesper Sahner" <jespersahner@hotmail.com> wrote in message news:7bb4f21d.0410271001.1ede132a@posting.google.c om... > Hi! > > How would you save data from a SQL-query for later use? > Is RowSet an option? what about the metadata? > > I know this is a broad question, but I would like some opinions on the subject. > > Regards, > Jesper |
![]() |
| Thread Tools | |
| Display Modes | |
In an effort to better serve ads to our visitors, cookies are used on objectmix.com. For more information, check out our Privacy Policy.