-->
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: Cascade with batch save
PostPosted: Fri Sep 18, 2009 11:28 pm 
Newbie

Joined: Fri Sep 18, 2009 11:21 pm
Posts: 2
Hi there,

I 'm using Hibernate for like 2 years, but I'm new to the forum, so, Hello all!

I'm trying to save a one-to-many relationship by the "one" side, but the many side is got a huge amount of data.
I usually do the batch-size, session.flush and session.clear thing, but it seems that in a cascade, where I only tell him to save once, it doesn't work...

What should be the right strategy here, besides going to JDBC?

(Fell free to correct me if I'm nuts, or if my english is not so good.)


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.