-->
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: Optimizing child inserts
PostPosted: Fri Oct 19, 2007 9:49 am 
Newbie

Joined: Wed Oct 17, 2007 10:18 pm
Posts: 3
Optimizing child inserts

I have a master and child table that are associated and when execute save on the master dao ; i am seeing the following pattern in the data base

insert master
select child
insert child

why is the extra select been executed by hibernate ? how to optimize it

Thanks

Raees


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:
cron
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.