Package org.hibernate.annotations
Annotation Type DynamicInsert
-
@Target(TYPE) @Retention(RUNTIME) public @interface DynamicInsert
Specifies that SQLinsert
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 Modifier and Type Optional Element Description boolean
value
Deprecated.Whenfalse
, this annotation has no effect.
-
-
-
Element Detail
-
value
@Deprecated(since="6.0") boolean value
Deprecated.Whenfalse
, this annotation has no effect.- Default:
- true
-
-