-->
These old forums are deprecated now and set to read-only. We are waiting for you on our new forums!
More modern, Discourse-based and with GitHub/Google/Twitter authentication built-in.

All times are UTC - 5 hours [ DST ]



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 2 posts ] 
Author Message
 Post subject: MappingException: Dupplicate property Mapping
PostPosted: Fri Apr 09, 2010 3:06 am 
Newbie

Joined: Fri Feb 05, 2010 8:34 am
Posts: 15
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?


Top
 Profile  
 
 Post subject: Re: MappingException: Dupplicate property Mapping
PostPosted: Tue Apr 13, 2010 11:11 am 
Newbie

Joined: Fri Feb 05, 2010 8:34 am
Posts: 15
any ideas please ?


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 2 posts ] 

All times are UTC - 5 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.