2 Replies Latest reply on Mar 10, 2010 10:44 PM by Shervin Asgari

    Seam Generate Entities. Error in Date length.

    Eduard Queraltó Newbie

      Hello. I have generated new entites from a new Database schema that contains various Datetime fields. The generated entities show next code:


      @Temporal(TemporalType.TIMESTAMP)
      @Column(name :'dataAltaOkAdm', length : 0)
      public Date getDataAltaOkAdm()
      {
        return this.dataAltaOkAdm;
      }


      Why the length of the column is 0?


      The versions are:
      eclipse 3.5
      JBoss Tools 2.1.0 CR2
      Jboss Server: JBoss 4.2.3 GA
      Mysql: 5.0
      Driver Mysql: 5.1.7



      Thanks