Hello, I have a column "ABSPROP_PROP_UNIQUE_GUID CHAR(32)".

Seam-gen generates the following code in the Entity:
        @Column(name = "ABSPROP_PROP_UNIQUE_GUID", nullable = false, length = 
32)
  |     @NotNull
  |     @Length(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

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@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to