Usually NHibnerate wraps the true exception with the HibernateException.
 Check the innerr exception to get the underlying error.

Mapping by code documentation is a little thin, but I found this series of
posts which walks through most if not all aspects of mapping by code.

http://notherdev.blogspot.com/2012/02/nhibernates-mapping-by-code-summary.html

Fabio Maulo also has a series of posts on mapping by code, but I found them
a little difficult to follow.

http://fabiomaulo.blogspot.com/2011/04/nhibernate-32-mapping-by-code.html
http://fabiomaulo.blogspot.com/2011/04/nhibernate-32-part-2-mapping-by-code.html


On Tue, May 28, 2013 at 9:27 AM, Zachariah Young <[email protected]> wrote:

> My team is currently working with nhibernate and is struggling with two
> main issues exception messages and lack of document.
>
> The issue with exception message is that don't help with explaining the
> true exception.  Is there something we need to configure or changes that
> would help with this?
>
> We are also not able to find enough document on map by code.  This is
> loquacious built into the current framework.
>
>
>
> Any help would be nice.
>
> Thanks
>
> Zach
>
> --
> You received this message because you are subscribed to the Google Groups
> "nhusers" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To post to this group, send email to [email protected].
> Visit this group at http://groups.google.com/group/nhusers?hl=en-US.
> For more options, visit https://groups.google.com/groups/opt_out.
>
>
>

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


Reply via email to