[jboss-user] [JBoss Seam] - seam-gen

marius.oancea do-not-reply at jboss.com
Mon Oct 1 08:48:33 EDT 2007


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



More information about the jboss-user mailing list