Hello,

We have recently upgraded NH v3 to v5.2 and we are facing a problem with 
collection mappings. We get below error:

NHibernate.MappingException: 'Unable to build the insert statement for 
class 'abc'; a failure occured when adding the Id of the class.
The column 'column_name' has already been added in this SQL builder

The solution we found is to add insert/update=false to the mapping. It 
works fine for many-to-one mapping but not for* joined-subclass* mapping 
(insert statement is missing).
Did anyone face this problem? Is there a way to solve this?

Thanks!

-- 
You received this message because you are subscribed to the Google Groups 
"nhusers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/nhusers/922e3fad-84b1-4017-8ab0-d29e425c6775%40googlegroups.com.

Reply via email to