The Envers callbacks are based on the premise that the listener object state array is the actual raw entity property values and not the LazyPropertyInitializer for the lazy properties that are creating the exception failure during insertion. In order for Envers to generate the proper audit row, it will need to initialize those lazy properties and we'd need to see if there are any drawbacks doing that. |