What hibernate version are you using ? I had the same trouble some time ago...
--------------------------------------------------------------------------- Walter Itamar Mour�o - Diretor de Tecnologia e Projetos - Arcadian S/A www.arcadian.com.br "Luciana Nunes Leal" <[EMAIL PROTECTED]> writes: >Hi, > >In my model there is a class named "Contribuinte" that has the follow >excerpt: > > /** > * @hibernate.id > * generator-class="sequence" > * type="long" > * column="NU_INSCRICAO" > [ mailto:[EMAIL PROTECTED] ]* @hibernate.generator-param >name = "sequence" value = "SQ_CONTRIBUINTES" > * column="NU_INSCRICAO" > * type="java.lang.Long" > * > * @hibernate.column > * name="NU_INSCRICAO" > * sql-type="NUMBER(8)" > * not-null="true" > */ > public java.lang.Long getId() { > return this.id; > } > >Although the sql-type of the column NU_INSCRICAO is set to NUMBER(8), the >DDL generated is like this: > >create table CONTRIBUINTES (NU_INSCRICAO number(19,0) not null, ... ) > >Does anybody know what is the problem? >I noticed that this occurs in some columns that are NUMBER, but not all. > >Thanks. >Luciana. >------------------------------------------------------- The SF.Net email >is sponsored by: Beat the post-holiday blues Get a FREE limited edition >SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, >almost....http://www.thinkgeek.com/sfshirt >_______________________________________________ Andromda-devel mailing >list [email protected] >https://lists.sourceforge.net/lists/listinfo/andromda-devel ------------------------------------------------------- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt _______________________________________________ Andromda-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/andromda-user
