Hi,
I've got a problem when reverse-engineering my PostgreSQL base with seam 1.2.0PATCH1.
Entity beans are well generated but when I restart my server I got the following error :
--- MBeans waiting for other MBeans --- ObjectName: persistence.units:ear=bourseEmploi.ear,unitName=bourseEmploi State: FAILED Reason: javax.persistence.PersistenceException: org.hibernate.HibernateException: Wrong column type: agtdna, expected: varchar(10) I Depend On: jboss.jca:service=DataSourceBinding,name=bourseEmploiDatasource
@Column(name = "agtdna", nullable = false, length = 10) @NotNull @Length(max = 10) public String getAgtdna() { return this.agtdna; }
@Column(name = "agtdna", columnDefinition = "bpchar(10)", nullable = false, length = 10) @NotNull @Length(max = 10) public String getAgtdna() { return this.agtdna; }