[hibernate-commits] [hibernate/hibernate-orm] 291033: HHH-7292 - Changed the EntityEntry to check the Cu...
GitHub
noreply at github.com
Wed May 30 12:57:24 EDT 2012
Branch: refs/heads/master
Home: https://github.com/hibernate/hibernate-orm
Commit: 29103357a9ba2306a2d7d1ab9907e4f55b81249e
https://github.com/hibernate/hibernate-orm/commit/29103357a9ba2306a2d7d1ab9907e4f55b81249e
Author: Shawn Clowater <Shawn.Clowater at entero.com>
Date: 2012-05-30 (Wed, 30 May 2012)
Changed paths:
M hibernate-core/src/main/java/org/hibernate/engine/spi/EntityEntry.java
M hibernate-core/src/test/java/org/hibernate/test/dirtiness/Thing.java
Log Message:
-----------
HHH-7292 - Changed the EntityEntry to check the CustomDirtynessStrategy first to determine if the entity needs to continue with the dirty check. Previously if the entity had mutable properties then it would bypass the custom dirty check.
To maintain legacy functionality still checking the mutable properties before checking the instrumented dirtyFlg (if applicable)
Added a Date property to the "Thing" test entity to verify that with mutable properties that the CustomDirtynessStrategy is still called.
More information about the hibernate-commits
mailing list