this is the validator being wrong; the colum type is perfectly ok for that type.

Known issue in Hibernate jira.

To make the validator (wrongly) happy we should generate char[2] fields in your 
java code which would be wrong too (or do you prefer to have to manipulate 
arrays instead of strings ? if yes, you can use a reveng.xml to set the type 
for sql type char with length 2 to the hibernate type character)

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4196416#4196416

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4196416
_______________________________________________
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to