I have created a pull request https://github.com/hibernate/hibernate-orm/pull/962 with a fix which checks the current state array if the FieldInterceptor.
When adding the unit test I noticed that all of the existing tests for the instrumentation appear to be skipped because the build isn't instrumenting any of the entities and I think that this bug would have been picked up by the test InstrumentCacheTest if it ran.
|