@DynamicInsert @DynamicUpdate does not work?

后端 未结 2 1805
悲哀的现实
悲哀的现实 2020-12-31 10:27

I am using Hibernate 4. When I use

    @org.hibernate.annotations.Entity(dynamicInsert = true, dynamicUpdate = true,
 selectBeforeUpdate = true)
2条回答
  •  执笔经年
    2020-12-31 11:13

    @SelectBeforeUpdate - works in Hibernate 4.x since org.hibernate.annotations.Entity has been deprecated Note: This is a replacement to the earlier org.hibernate.annotations.Entity(selectBeforeUpdate=true)

提交回复
热议问题