-->
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.  [ 3 posts ] 
Author Message
 Post subject: Questions about AbstractEntityPersister.setPropertyValues
PostPosted: Tue Nov 25, 2003 4:48 am 
Newbie

Joined: Mon Sep 08, 2003 12:51 am
Posts: 19
Seems that this method sets property values to the persisting object?

Why call this during Session.update?
Is it necessary to set those same values to the instance?


Top
 Profile  
 
 Post subject:
PostPosted: Tue Nov 25, 2003 8:26 am 
Hibernate Team
Hibernate Team

Joined: Tue Aug 26, 2003 12:50 pm
Posts: 5130
Location: Melbourne, Australia
you might be wrapping collections or setting version numbers


Top
 Profile  
 
 Post subject:
PostPosted: Tue Nov 25, 2003 11:30 am 
Newbie

Joined: Mon Sep 08, 2003 12:51 am
Posts: 19
Thanks for your response, gavin.

I always close session after fecthing data from db.
So it must be wrapping collections that causes that action.

Could I avoid wrapping collections?

Best regards,

hunj


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 3 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.