tags:

views:

20

answers:

1

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.

Hibernate Reference Manual

Markus Knittig