-->
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 hibernate query result sets
PostPosted: Wed Apr 16, 2008 7:24 pm 
Newbie

Joined: Mon Aug 27, 2007 11:11 pm
Posts: 8
Location: Brisbane
I have a requirement to select an entire table and return it in CSV format. I am using a hibernate query to perform the select. By default I get a List object back from the query and have to iterate through the list and create the response stream. Ideally I would like the hibernate query to write the results to an OutputStream that I specify instead of a list. Is this possible?


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.