[hibernate-dev] HHH-5054 - Add boolean Session.isDirty(Object)

Łukasz Antoniak lukasz.antoniak at gmail.com
Mon Dec 5 15:54:15 EST 2011


Welcome!

Lately I have been trying to add Session.isDirty(Object) method 
(HHH-5054). Could somebody comment on test case and solution - 
https://github.com/lukasz-antoniak/hibernate-core/commit/9f39a4a98d34e119f37c90d3953fe083c795bf6a 
? IMO adding and removing relations between objects might work 
incorrectly (compare testAddRelation() and testAddRelationOneSide()), or 
would it be a desired behavior?

Regards,
Lukasz Antoniak



More information about the hibernate-dev mailing list