Hi!
I'm now using NHibernate for about an year.
I'm using it in VS 2008 and with NHibernate Mapping Attributes.
The Mapping Attributes generate my Mapping XML.
My Problem is, i have a few classes which all derive from an baseclass.
This Baseclass has a few components (deleted, created-date ...)
This works fine in other projects and also in the current.
But in about 1% of Application -Starts, the SessionFactotry cannot be created, because ther is a error in the generated mapping document.
The Error is the following :
Code:
Duplicate property mapping of Deleted found in XXX.Mappings.UserMappings.Rating.UserRating
Ausnahmedetails: NHibernate.MappingException: Duplicate property mapping of Deleted found in ethos.SP.DataDefinitions.Mappings.UserMappings.Rating.UserRating
Quellfehler:
My App is in ASP.Net , My NHibernate DLL has version 2.0
I checked the XML, and it is ok. So i suggest, that in one of hundret cases the xml isn't rendered right?!
My problem is, that i can't reproduce the error :-/
Any ideas?