1

I know this might not be the right place to ask a question like this, but so far enableExtendedEnhancement is not documented and I was not able to find any resources on this topic.

Please explain this in detail. Thanks in advance.

Ashish Karn
  • 1,127
  • 1
  • 9
  • 20

2 Answers2

1

Normally, Hibernate expects you to access persistent fields via getters and setters. If you use byte code enhancement and access a field in some other way, except getter or setter, Hibernate may fail to register that the field became dirty.

The parameter enableExtendedEnhancement of hibernate-enhance-maven-plugin enables additional analysis and interception of field access outside getters and setters. It is processed in FieldAccessEnhancer. However, in the source code of the plugin, it's recommended to use this setting at your own risk.

Forketyfork
  • 7,416
  • 1
  • 26
  • 33
0

a mystical option enableExtendedEnhancement intended for fine-tuning of the bytecode enhancement. this is completely described here

afshar
  • 523
  • 4
  • 16