[
http://jira.jboss.com/jira/browse/JBSEAM-637?page=all ]
Gavin King closed JBSEAM-637.
-----------------------------
Resolution: Won't Fix
Right, this column type is very proprietary. Perhaps if you disable schema validator, you
might get further. Anyway, we can't support such very proprietary extensions to SQL in
Hibernate Tools. For more help on how to handle this, ask in the Hibernate Tools forum.
seam-gen does not work for MySql tables with enums
--------------------------------------------------
Key: JBSEAM-637
URL:
http://jira.jboss.com/jira/browse/JBSEAM-637
Project: JBoss Seam
Issue Type: Bug
Components: Tools
Affects Versions: 1.1.0.GA
Environment: Windows XP SP2, MySql 5.0.27
Reporter: Zeljko Trogrlic
Attachments: mysql-enum.log
After application is successfully created and deployed, following error occurs during
startup:
javax.persistence.PersistenceException: org.hibernate.HibernateException: Wrong column
type: attr_type, expected: varchar(7)
attr_type is MySql enum column. Same happens with all enums in all tables.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira