-->
These old forums are deprecated now and set to read-only. We are waiting for you on our new forums!
More modern, Discourse-based and with GitHub/Google/Twitter authentication built-in.

All times are UTC - 5 hours [ DST ]



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 1 post ] 
Author Message
 Post subject: Streaming Result Set
PostPosted: Sun Apr 10, 2005 8:37 pm 
Regular
Regular

Joined: Tue Nov 09, 2004 5:15 pm
Posts: 100
Hi All,

I'm not sure if it's the right place to post this question. But this forum has many DB experts, i'm hoping to get the right answer from the members of this forum.

The question is that, assume that the client requests first 50 rows from the result set that matches a given query but there could be as much as 2000 rows. While retrieving the ResultSet, is it possible to return the first 50 rows to the client but at the same time continue to retrieve the rest of the 1500 rows? When the next time, the clients requests the matching results for the same query, will we be able to return the rest of the rows? Is it supported by the JDBC ResultSet or any other way?

Please note that our current Phase 1 project does NOT use hibernate but if there is a possible solution, we would want to implement this in Phase 2 which will use hibernate 3.

Thanks in advance!


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 1 post ] 

All times are UTC - 5 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.