db-ddlutils-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jun Li" <allanju...@gmail.com>
Subject Re: How does the xml present scale for numeric columns?
Date Wed, 19 Jul 2006 03:14:57 GMT
That's good.

But I still don't see any scale in the xml generated, and it turned out to
be that DdlUtils did not include scale in the column size mapping.

The mapping.xml needs to be updated.


On 7/18/06, Thomas Dudziak <tomdzk@gmail.com> wrote:
>
> On 7/17/06, Jun Li <allanjunli@gmail.com> wrote:
>
> > On numeric columns, the "Size" attribute is for precision, then where is
> the
> > scale information?
>
> In the same size attribute, with precision and scale separated by a comma.
> E.g. see here for an example:
>
>
> http://svn.apache.org/viewvc/db/ddlutils/trunk/src/test/org/apache/ddlutils/io/TestDatatypes.java?view=markup
>
> in method testDecimalWithScale().
>
> Tom
>



-- 
--------------
Cheers,
Jun

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message