We have a post update event listener that inserts audit information
(which includes the XML serialization of the entity) into a table
using a separate session.

We encounter a problem when trying to acquire the foreign key values
of lazy loaded entities because the entities are triggered to load
inside the listener when we try to get their key values and they have
not been loaded yet.  Is there a way we can get the foreign key values
in the listener for audit purposes from an entity without causing a
lazy load?

-- 
You received this message because you are subscribed to the Google Groups 
"nhusers" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/nhusers?hl=en.

Reply via email to