Top Description Methods
org.hibernate.annotations

public @Interface DynamicInsert

extends Annotation
Annotations
@Target:TYPE
@Retention:RUNTIME
Imports
java.lang.annotation.Retention, .Target

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.

Author
Steve Ebersole

Method Summary

Modifier and TypeMethod and Description
public boolean
value()

Deprecated since 6.0. When false, this annotation has no effect.
Inherited from java.lang.annotation.Annotation:
annotationTypeequalshashCodetoString

Method Detail

valueback to summary
public boolean value()

Deprecated

since 6.0.

When false, this annotation has no effect.

Annotations
@Deprecated
since:6.0