What is the use of insert and update attribute in property tag in hibernate ?
A:
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.
Markus Knittig
2010-02-18 13:11:50