Ok, after trying around, I saw that this lines produces the problem:
Code:
<many-to-one name="assessment" not-null="true">
<column name="assessment_form_cd"/>
<column name="assessment_form_c"/>
</many-to-one>
Now I have the problem that - if I add <column name="language"/> to it - I get a exception which says, that "language" isn't mapped in my UidType object (which is true, because it only looks at the _cd and _c values):
org.hibernate.MappingException: An association from the table assessment_question refers to an unmapped class: ....dto.database.UidType
How can I seperate the "language" value from the "UidType" value?