ive done another commit (merged the previous commit into one): https://github.com/stalep/hibernate-orm/commit/33489bb06d6bc41b4050dfa536e6c9deacfac554
i changed to use Set instead of List and i also added a simple areEqual method (for primitives and enums it uses == and for Simple data types it calls equals. currently it does the same for other objects, but im thinking of changing this to use the Type class you mentioned. does that sound ok?
i also added an interface called DirtyTracker that implements the two methods.
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
ive done another commit (merged the previous commit into one): https://github.com/stalep/hibernate-orm/commit/33489bb06d6bc41b4050dfa536e6c9deacfac554
i changed to use Set instead of List and i also added a simple areEqual method (for primitives and enums it uses == and for Simple data types it calls equals. currently it does the same for other objects, but im thinking of changing this to use the Type class you mentioned. does that sound ok?
i also added an interface called DirtyTracker that implements the two methods.
i just now also added a very simple check in SessionFactoryImpl: https://github.com/stalep/hibernate-orm/commit/b4f8c10b9fc9e9f38c43c281c6ab5623e85560c5
not quite sure what the findDirty method should do