Hello Forum,
since two days I try to start with NHibernate.
My last try was this Tutorial (second try).
http://www.hibernate.org/362.html
Since now I get this error from NHibernate:
"Could not compile the mapping document: SecondSolution.Datenbank.User.hbm.xml"
The Solution is named SecondSolution and the hbm.xml-file is located in a subfolder "Datenbank".
As scheme I used "nhibernate-mapping.xsd" from the distribution.
So it seems that NHibernate has found the file but what is wrong here?
This is my User.hbm.xml
Code:
<?xml version="1.0" encoding="utf-8" ?>
<hibernate-mapping xmlns="urn:nhibernate-mapping-2.0">
<class name="SecondSolution.User, SecondSolution" table="users">
<id name="Id" column="LogonId" type="String" length="20">
<generator class="assigned" />
</id>
<property name="UserName" column="UserName" type="String" length="40"/>
<property name="Password" type="String" length="20"/>
<property name="EmailAddress" type="String" length="40"/>
<property name="LastLogon" type="DateTime"/>
</class>
</hibernate-mapping>
please help, I'm near to a nervous breakdown...
thanks, Telefisch