Hi all,
I've just started using nullables in NHibernate (rc1) in an ASP.NET application. Here's my mapping file:
Code:
<?xml version="1.0" encoding="utf-8" ?>
<hibernate-mapping xmlns="urn:nhibernate-mapping-2.0">
<class name="Server.Objects.Event,NHibernateServer" table="Events">
<id name="Id" column="EventID" type="Int32" unsaved-value="0" access="nosetter.lowercase">
<generator class="native"/>
</id>
<property name="Name" />
<property name="Description" />
<property name="Start" />
<property name="ArticleId" column="ArticleID" type="Nullables.NHibernate.NullableInt32Type, Nullables.NHibernate" />
</class>
</hibernate-mapping>
However, when I try to hit my page, this exception gets thrown:
Code:
could not interpret type: Nullables.NHibernate.NullableInt32Type, Nullables.NHibernate
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details: NHibernate.MappingException: could not interpret type: Nullables.NHibernate.NullableInt32Type, Nullables.NHibernate
To me, it sounds like NHibernate doesn't know where to look for the Nullables libraries; but I've added a reference to all the relevant libraries in all the relevant places. I've also searched around to try to find some help on the topic, but the match I found was in dutch, which was a bit hard to translate!
I'm hoping it's just an "it's 11 PM and it's time for bed" bug, but hopefully someone has an answer (or speaks dutch :-D).
Thanks!