wood burning stoves 2.0*
The moose likes JDBC and the fly likes SQL operation against a cached result set Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Databases » JDBC
Bookmark "SQL operation against a cached result set" Watch "SQL operation against a cached result set" New topic
Author

SQL operation against a cached result set

Zenikko Sugiarto
Ranch Hand

Joined: Jan 09, 2005
Posts: 58
Hi all,

I would illustrate what I am trying to do with an informal pseudo-code




In other words: is there such a class that does what FooStructure is doing? holding the content of a ResultSet in a structure that we can apply normal SQL operations against?

I know that some people would say, well why don't you put the select distinct column1 in the initial query in the first place. THIS IS NOT THE POINT (pardon the caps). The point is, I am looking for a SQL-aware data structure that is ResultSet-friendly... (before I go and reinvent one..)

... anyone?
Scott Selikoff
author
Saloon Keeper

Joined: Oct 23, 2005
Posts: 3710
    
    5

Have you looked at ibatis?


My Blog: Down Home Country Coding with Scott Selikoff
 
GeeCON Prague 2014
 
subject: SQL operation against a cached result set