Top Description Methods
org.hibernate.annotations

public @Interface DynamicUpdate

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

For updating, should this entity use dynamic sql generation where only changed columns get referenced in the prepared sql statement?

Note, for re-attachment of detached entities this is not possible without select-before-update being enabled.

Author
Steve Ebersole
See Also
SelectBeforeUpdate

Method Summary

Modifier and TypeMethod and Description
public boolean
value()

Should dynamic update generation be used for this entity?

Inherited from java.lang.annotation.Annotation:
annotationTypeequalshashCodetoString

Method Detail

valueback to summary
public boolean value()

Should dynamic update generation be used for this entity? true says the update sql will be dynamic generated. Default is true (since generally this annotation is not used unless the user wants dynamic generation).