dirty-checking

Hibernate 4 bytecode enhancement not working for dirty checking optimization

爱⌒轻易说出口 提交于 2019-12-09 04:12:33
问题 I am using the Hibernate 4.3.6 and I made use of the latest Maven bytecode enhancement to instrument all entities for self dirtiness awareness. I added the maven plugin: <build> <plugins> <plugin> <groupId>org.hibernate.orm.tooling</groupId> <artifactId>hibernate-enhance-maven-plugin</artifactId> <executions> <execution> <phase>process-test-resources</phase> <goals> <goal>enhance</goal> </goals> </execution> </executions> </plugin> </plugins> </build> and I see my entities are being enhanced:

Hibernate 4 bytecode enhancement not working for dirty checking optimization

谁说我不能喝 提交于 2019-12-02 20:12:00
I am using the Hibernate 4.3.6 and I made use of the latest Maven bytecode enhancement to instrument all entities for self dirtiness awareness. I added the maven plugin: <build> <plugins> <plugin> <groupId>org.hibernate.orm.tooling</groupId> <artifactId>hibernate-enhance-maven-plugin</artifactId> <executions> <execution> <phase>process-test-resources</phase> <goals> <goal>enhance</goal> </goals> </execution> </executions> </plugin> </plugins> </build> and I see my entities are being enhanced: @Entity public class EnhancedOrderLine implements ManagedEntity, PersistentAttributeInterceptable,