Okay, I figured out what was wrong. I had the wrong class type in one
of my mappings.
This is what I had:
<bag name="Authorizations" inverse="true" cascade="save-update"
access="nosetter.camelcase-underscore">
<key>
<column name="[AuthorizationLevel]" sql-type="int" />
</key>
<one-to-many class="AuthorizationLevel" />
</bag>
This is what it should have been:
<bag name="Authorizations" inverse="true" cascade="save-update"
access="nosetter.camelcase-underscore">
<key>
<column name="[AuthorizationLevel]" sql-type="int" />
</key>
<one-to-many class="Authorization" />
</bag>
Notice the one-to-many class was changes to the actual correct type.
Newbie mistake!
--
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.