Problem solved:
I get a lot of warnings like this:
Code:
WARN - (HbmBinder.java:419) - Could not perform validation checks for component as the class data.CLASS was not found
I have al my mapping (hbm.xml) files in package 'mapping' and my java classes are in a package 'data'.
The warnings are caused by my <composite_id> which are build like this:
Code:
<composite-id name="composite" class="data.CLASS">
<key-many-to-one name="FK1" class="data.CLASS1" column="COL1" />
<key-many-to-one name="FK2" class="data.CLASS2" column="COL2" />
</composite-id>
The warning is caused by the class in <composite_id>.
I think the value of class is good and it works, but why do I get this warning?
In case anyone else gets this error:
I removed all my hibernate imported files and downloaded them again. After this the error was gone, so it was probable caused by wrong versions.