Subject: - seam-gen 2007-10-01 - By marius.oancea
Back Hello, I have a column "ABSPROP_PROP_UNIQUE_GUID CHAR(32)".
Seam-gen generates the following code in the Entity: @(protected)(name = "ABSPROP_PROP_UNIQUE_GUID", nullable = false, length = 32) | @(protected) | @(protected)(max = 32) | public String getAbspropPropUniqueGuid() { | return this.abspropPropUniqueGuid; | } |
When I deploy the aplicaiton in JBoss, i got: --- MBeans waiting for other MBeans --- | ObjectName: persistence.units:ear=eptosiv.ear,unitName=eptosiv | State: FAILED | | Reason: javax.persistence.PersistenceException: org.hibernate .HibernateException: Wrong column type: ABSPROP_PROP_UNIQUE_GUID, expected: varchar(32) | I Depend On: | jboss.jca:service=DataSourceBinding,name=ivDatasource |
I found some things in http://forum.hibernate.org/viewtopic.php?p=2336432 #2336432,
http://jira.jboss.com/jira/browse/JBSEAM-637 (See http://EAM-637.ora-code.com)
but nothing helped me to solve this problem.
Any clue what I can try?
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic &p=4090212#4090212
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode =reply&p=4090212 __ ____ ____ ____ ____ ____ ____ ____ ____ ____ jboss-user mailing list jboss-user@(protected) https://lists.jboss.org/mailman/listinfo/jboss-user
|
|