Hello,
I recently upgraded to 3.1.0 and now i'm facing a strange error
nhibernate telling me the persistent class not found exception.

So I checked my mapping files, even so it worked before, and
everything seems fine.

First I removed the class and all references in other classes compiled
and tested it worked.
I tested it with the schema exporter, exporting my schema to the db.

In the next step I added the class again but without referencing it in
other mapping files worked after testing.
Table etc was created in the db.


When a reference to the class exists in a different mapping file the
persistent class not found exception is thrown.

In one mapping I got
<many-to-one name="Temperature" class="Temperature"
column="TemperatureId" not-null="true"/>
as long as i leave that reference out it all works fine

I'm having many-to-one mappings all over and none breaks it...

In one mapping I'm using the many to one and in another mapping i'm
using a one-to-one relationship to my breaking class.
If both are commented it works if I uncomment either of it it breaks.

My last idea was that maybe some weird error with the naming of the
class breaks it so I renamed it to Bempreature and adjusted all
references etc. But still the same behavior as described above.

I'm really running out of ideas. Can anyone help me?


Best regards
Steve

-- 
You received this message because you are subscribed to the Google Groups 
"nhusers" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/nhusers?hl=en.

Reply via email to