This content has been marked as final.
Show 2 replies
-
1. Re: Seam Generate Entities. Error in Date length.
gener74 Mar 10, 2010 12:44 PM (in response to gener74)
Eduard Queraltó wrote on Mar 04, 2010 12:52:
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
ThanksClick HELP for text formatting instructions. Then edit this text and check the preview.
-
2. Re: Seam Generate Entities. Error in Date length.
cash1981 Mar 10, 2010 10:44 PM (in response to gener74)Change it if the length is wrong. I dont see the big problem.
I havent encountered the same problem, and I am also using mysql.