-->
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: Huge Data loading, scrolling ?
PostPosted: Wed May 28, 2008 2:35 am 
Newbie

Joined: Sun Apr 20, 2008 8:11 pm
Posts: 10
Hibernate version: 3.2

Code between sessionFactory.openSession() and session.close():

Full stack trace of any exception that occurs:

Name and version of the database you are using: MySQL 5.0


Hello everybody,

I have a database from where I have to load and process millions of records. Obviously it is impossible to use .list() for memory reason.

I have read several topic about the possibility of scrolling the results by page. I just dont understand what is the behavior of hibernate when a scrolling is made over a database where the content is changing ?

And is there any way for loading data directly into a file (like a listToFile() trick ?). I am sure that I am not the only one facing the problem of huge data loading/processing :)


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.