3 Replies Latest reply on Oct 4, 2007 5:49 PM by Pete Muir


    Marius Oancea Novice

      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)
       @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:

      I found some things in http://forum.hibernate.org/viewtopic.php?p=2336432#2336432,


      but nothing helped me to solve this problem.

      Any clue what I can try?