I tested it with 4.3.6. Unfortunatelly, I couldn't supply a test case since it's more like an Hibernate inner-working issue.
I found this issue (and neither the new enhancer couldn't fetch the dirty properties, so it fell back to the default deep-comparison algorithm) while writing this blog post:
http://vladmihalcea.com/2014/09/08/hibernate-bytecode-enhancement/
You can clone my project from GitHub, this is the actual test I've been running:
https://github.com/vladmihalcea/hibernate-master-class/blob/master/ant-bytecode-enhance/src/test/java/com/vladmihalcea/hibernate/masterclass/laboratory/flushing/AntBytecodeEnhancedTest.java
|