-->
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: When to use .merge() and .updtate() on the hibernatetemplate
PostPosted: Thu Nov 02, 2006 10:12 pm 
Newbie

Joined: Tue Oct 17, 2006 10:57 am
Posts: 14
The only diff I saw was with .merge all the rows get updated no matter what the values of selectbeforeupdate is in the hbm file. So .merge seems expensive. what else is the difference?


Top
 Profile  
 
 Post subject:
PostPosted: Fri Nov 03, 2006 2:15 am 
Hibernate Team
Hibernate Team

Joined: Mon Aug 25, 2003 9:11 pm
Posts: 4592
Location: Switzerland
Do NOT use the HibernateTemplate, it is useless. Use Hibernate APIs directly, read the API Javadoc first.


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