-->
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: Hibernate Session Keep Alive
PostPosted: Wed Nov 11, 2009 12:55 pm 
Newbie

Joined: Fri Jul 24, 2009 5:58 am
Posts: 3
Hi there,

I have this problem, I'm validating a 40,000 lines CSV and for each line I have to insert in a table a new register. The problem is that these operations ("save") have to be transactional and the Hibernate Session time-out is 100 secs. I cannot change this time parameter and I've made something to keep alive the session so it doesn't time-out based on making small queries with "select" so I don't have the time-out problem but I have a new one and this is that the transaction's memory is too big...

Is there anything I can configure to my Hibernate session so it doesn't time-out?

Thanks a lot!

P.S.: Sorry for my English...


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.