[hibernate-issues] [Hibernate-JIRA] Created: (HHH-7074) The annotation of @DynamicUpdate has no effect
zhuzhangsuo (JIRA)
noreply at atlassian.com
Thu Feb 16 08:24:11 EST 2012
The annotation of @DynamicUpdate has no effect
----------------------------------------------
Key: HHH-7074
URL: https://hibernate.onjira.com/browse/HHH-7074
Project: Hibernate ORM
Issue Type: Bug
Components: annotations
Affects Versions: 4.1.0
Environment: hibernate 4.1.0 mysql 5.1
Reporter: zhuzhangsuo
The annotation org.hibernate.annotations.Entity has deprecated ,and it suggest to use @DynamicUpdate to instead of the property dynamicUpdate ,but it has no effect
when I modify the value of name
The sql of @org.hibernate.annotations.Entity(dynamicUpdate=true): update t_user set user_name=? where user_id=?
The sql of @DynamicUpdate: update t_user set user_age=?, user_name=? where user_id=?
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the hibernate-issues
mailing list