Hibernate version: NAnt 0.85
Mapping documents:
Code:
<?xml version="1.0" encoding="utf-8"?>
<hibernate-mapping xmlns="urn:nhibernate-mapping-2.2" default-lazy="false">
<class name="WiscNet.Database.Model.PortalArticle, WiscNet.Database.Model" table="Portal_News">
<id name="ArticleID" column="ArticleID" type="Int32" unsaved-value="null">
<generator class="native" />
</id>
<property name="Title" column="Title" type="String" length="50" not-null="false" />
<property name="Content" column="Content" type="StringClob" not-null="false" />
<property name="PageID" column="PageID" type="Int32" not-null="false" />
<property name="FrontPage" column="FrontPage" type="Boolean" not-null="false" />
<property name="CreatedBy" column="CreatedBy" type="Int32" not-null="false" />
<property name="CreatedOn" column="CreatedOn" type="DateTime" not-null="false" />
<property name="LastUpdate" column="LastUpdate" type="DateTime" not-null="false" />
</class>
</hibernate-mapping>
Name and version of the database you are using: SQL Server 2005
Debug level Hibernate log excerpt:
2008-12-16 08:41:51,187 DEBUG WiscNet.Portal.Business.BasePage - Created entity WiscNet.Database.Model.PortalArticle
2008-12-16 08:41:51,187 DEBUG WiscNet.Portal.Business.BasePage - Binding control Title value Test to Title
I'm trying debug why the portal website I work on cannot bind content from ASP.NET textarea to an underlying database using NHibernate. It seems everything binds appropriately until NHibernate reaches the ASP.NET textarea.
Any help is appreciated. Thank you.