As of the current version of Hibernate-Envers (4.3.0.Beta3) it is not possible to audit dynamic components. An org.hibernate.MappingException is thrown: Audited dynamic-component properties are not supported. Consider applying @NotAudited annotation ...

However, in the Envers user manual, dynamic-components are not mentioned, event not under "Mapping Exceptions".

Is there a way to audit dynamic components with Hibernate-Envers?

Thinking about it, I don't see a reason why this could not be supported. Am I missing something?

有帮助吗?

解决方案

Meanwhile, the audition of dynamic-components with Hibernate Envers has been implemented in hibernate-envers 4.3.0.RC1

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top