You'd have to be very clever about it, as the lazy loading requires that the session that loaded parent must still be available when child is referenced. That, of course, means that the parent object can only be referenced on a single machine, and your mention of an "event router" suggests that there's more than one machine involved.
The serialization thing isn't a problem, so long as proxied associations are referenced only where the session is available. You can declare the fields as transient (to prevent serialization) and hibernate will cope fine.
_________________ Code tags are your friend. Know them and use them.
|