-->
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: update attribute for property element in hibernate
PostPosted: Sat Oct 26, 2013 4:25 pm 
Newbie

Joined: Mon Oct 21, 2013 5:32 pm
Posts: 8
The property element of Hibernate has attributes update, insert and as per documentation it states that - http://docs.jboss.org/hibernate/orm/3.3/reference/en-US/html/mapping.html#mapping-declaration-property

Quote:
update, insert (optional - defaults to true): specifies that the mapped columns should be included in SQL UPDATE and/or INSERT statements. Setting both to false allows a pure "derived" property whose value is initialized from some other property that maps to the same column(s), or by a trigger or other application.


Please help me in understanding how it behaves if its value is set as 'false' instead of 'true'. What is the derived property here?


Top
 Profile  
 
 Post subject: Re: update attribute for property element in hibernate
PostPosted: Sat Jan 04, 2014 4:47 pm 
Newbie

Joined: Mon Oct 21, 2013 5:32 pm
Posts: 8
I am surprised to see that I am not getting answers to some basic questions in Hibernate forum itself, is my question is not valid? or I should raise my posts in different section in this forum. Please let me know.


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.