-->
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.  [ 2 posts ] 
Author Message
 Post subject: saving/updating large number of records
PostPosted: Thu Jun 17, 2010 3:14 am 
Newbie

Joined: Thu Jun 17, 2010 3:05 am
Posts: 2
I have one parent entity that has approx. 15000 child record(entitys). I can easily pesist quickly that one parent entity and 15000 child entity-s with batch insert, but the problem
is when I add let say add another 1000 child entitys to the parent(on the web layer), and than call entityManager.merge(parentEntity). I'm geting out od memoy exception. I'm using all-delete-orphan cusom hibernate annotation and it works well with records in DB to some 5000, but over that is a problem. Any help ?


Top
 Profile  
 
 Post subject: Re: saving/updating large number of records
PostPosted: Thu Jun 17, 2010 4:08 am 
Newbie

Joined: Tue Apr 13, 2010 2:23 am
Posts: 7
I see what the problem is

_________________
Hobbies Sports: Playing golf!

ping g10 driver*
ping g10 irons|


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

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.