I am attempting to update to Hibernate 4 and I am getting that org.hibernate.annotations.Entity is deprecated. None of the documentation however seems to indicate that this is the case. Anyone have any insight into this?
@org.hibernate.annotations.Entity(dynamicUpdate = true)
Yes it is deprecated in 4.0+:
Deprecate org.hibernate.annotations.Entity Its individual attributes/values should become annotations. Schedule for removal in 4.1
You should use @DynamicUpdate
instead
Here is a fixed JIRA talking about it.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With