I have created a PostLoadEventListener the throws an error but I
cannot catch that error since
this swallows the error. Is this an error, oversight or something
else?
private IList DoQueryAndInitializeNonLazyCollections(
ISessionImplementor session,
QueryParameters queryParameters,
bool returnProxies)
{
IPersistenceContext persistenceContext =
session.PersistenceContext;
persistenceContext.BeforeLoad();
IList result;
try
{
result = DoQuery(session, queryParameters,
returnProxies);
}
finally
{
persistenceContext.AfterLoad();
}
persistenceContext.InitializeNonLazyCollections();
return result;
}
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---