I have a mapping that contains a many-to-one lazy="proxy".
This alone works fine: I see $$EnhancerByCGLIB$$ as the type when I do a load
Once I add a lazy property to the mapping and do build-time cglib enhancement, it breaks.
Not only is the lazy property listed in $CGLIB_READ_WRITE_CALLBACK, but also my lazy="proxy" association. (i.e. no more proxy object)
This works fine in hibernate-3.1.2.
This was originally brought up here: http://forums.hibernate.org/viewtopic.php?t=958881
Please let me know if more info or a test case is needed.