Maybe the issue-title should replace "collections" with "associations"?
I've just tested this and it works great, on both PersistentCollection and AbstractLazyInitializer (HibernateProxy)! Now I can finally remove my LazyInitAspect which used AOP (AspectJ+Spring+loadtime-weaving).
This ought to be mentioned in the release-docs, and on the front-page on hibernate.org as it's a very much wanted enhancement.
I know you loose the "change a property on an entity and it's automatically saved"-property but this is OK. Are there other issues one should be aware of?
Ah, supercool!
A big thanks for finally implementing this!
Maybe the issue-title should replace "collections" with "associations"?
I've just tested this and it works great, on both PersistentCollection and AbstractLazyInitializer (HibernateProxy)! Now I can finally remove my LazyInitAspect which used AOP (AspectJ+Spring+loadtime-weaving).
This ought to be mentioned in the release-docs, and on the front-page on hibernate.org as it's a very much wanted enhancement.
I know you loose the "change a property on an entity and it's automatically saved"-property but this is OK. Are there other issues one should be aware of?
–
Andreas