Package org.hibernate.annotations
Annotation Interface DynamicInsert
Specifies that SQL
insert
statements for the annotated entity
are generated dynamically, and only include the columns to which a
non-null value must be assigned.
This might result in improved performance if an entity is likely to have many null attributes when it is first made persistent. However, there is a cost associated with generating the SQL at runtime.
-
Optional Element Summary
Optional Elements
-
Element Details
-
value
Deprecated.Whenfalse
, this annotation has no effect.- Default:
- true
-
false
, this annotation has no effect.