Wednesday, 20 April 2016

How to use dynamic-update and dynamic-insert in a class mapping ?


dynamic-update (defaults to false)

Specifies that UPDATE SQL should be generated at runtime and contain only those columns whose values have changed.


dynamic-insert (defaults to false)

Specifies that INSERT SQL should be generated at runtime and contain only the columns whose values are not null.

No comments:

Post a Comment

Note: only a member of this blog may post a comment.