max wrote:
ok so mysql reports "funny" things here and schemavalidator is to rigid.
e.g. mysql probably reports CHAR(2) and hibernate expect that the String should be a VARCHAR(2) ..........
so to fix this we need to improve schemavalidator to not be so rigid on something that is not completly wrong.
For you to workaround it disable schemavalidator.
I disabled schemavalidator by commenting following line in persistence.xml:
Code:
<!--property name="hibernate.hbm2ddl.auto" value="validate"/-->
Now it works correctly.
Add to JIRA:
http://opensource.atlassian.com/project ... e/HHH-2354