hibernate/hibernate-orm — pull request #496 by adembo (2013-03-27 00:07:54+00:00)
Title: HHH-5845 (partial fix) Lazy Loading of audited entites with revision typ...

...e 'delete'

Fixed for to-one associations, but not for one-to-many and other collection types.

Based largely on https://github.com/hibernate/hibernate-orm/pull/301.

This is a quick-and-dirty fix that works for me because I don't audit collections.
Fixing collections is more challenging: the RelationQueryGenerator group of
classes don't allow for easy customization of queries based on input data.