[jboss-user] [JBoss Tools (users)] - Re: Hibernate validation failure with Seamgen/MYSQL
max.andersen@jboss.com
do-not-reply at jboss.com
Sun Dec 14 13:42:34 EST 2008
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
More information about the jboss-user
mailing list