-->
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: Bulk update vs. Lazy Loading of columns
PostPosted: Thu Apr 07, 2005 9:36 am 
Regular
Regular

Joined: Thu Jul 01, 2004 12:13 am
Posts: 68
Location: San Diego, CA
I was following this post, http://forum.hibernate.org/viewtopic.php?t=937254, which is from December. Basically, this brings to bear the issue of having to do a session.load() before an update when you may be just changing one column and then you're done. I'm interested to know if a bulk update has been implemented in HB3 or is that still targeted for 3.1? If the road map is current, then it looks like not yet. If so, is there a JIRA issue to track its progress?

My follow-on question is which approach is better to use, especially in light of the new lazy column load feature? I guess I could see lazy columns is pretty cool, so I could just lazily load BIG columns and still load my objects before update like I've been doing for all the obvious lifecycle benefits. But, batch sure is nice when you know just making a column update and don't want to incur the cost of any SELECT.

Just interested in how others are using the new features...Great work and congrats on the new release!

Regards,
Lou


Top
 Profile  
 
 Post subject:
PostPosted: Thu Apr 07, 2005 8:50 pm 
Hibernate Team
Hibernate Team

Joined: Tue Aug 26, 2003 3:00 pm
Posts: 1816
Location: Austin, TX
Bulk operations are implemented, but the current implementation has some limitations.

Basically, you cannot use these against any multi-table entities (i.e., <join/>, join or union subclass). Supporting these scenarios is fairly complex. This is what is targeted for 3.1.

But outside those scenarios, the bulk stuff is there and usable since 3.0final...


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.