This isn't a bug exactly, but it's annoying and worrisome. I have some
correct HQL that causes a KeyNotFoundException in
AbstractPropertyMapping.ToType. The exception is then swallowed by the
following code in FromElement.HandlePropertyBeingDereferenced:
catch (QueryException)
{
// ignore it; the incoming property could not be found so we
// cannot be sure what to do here. At the very least, the
// safest is to simply not apply any dereference toggling...
}
Two problems with this: It interferes with application debugging
because VStudio stops at the exception and gives the impression of a
parsing error. Second, it makes me think that there might be a real
bug here, either in NHib itself or in my app, that I'm not
understanding.
At the end of the day, NHib does parse the HQL and return the expected
results, so this is not an urgent problem. However, I wanted to bring
it to the attention of the community and see what others think.
Thanks.
-- Brian
--
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.