db-torque-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Hilco Wijbenga <hilco.wijbe...@elasticpath.com>
Subject JDBC task and DECIMAL column
Date Wed, 05 Oct 2005 18:12:11 GMT
Using ant and the jdbc task I've managed to generate a nice schema.xml
file for my database.

However, the DECIMAL columns all have been generated without their
precision. So if I use this schema.xml all my floating point values are
now integers. :-(

As an example, the database has a price column of type

DECIMAL(19,2)

but the generated schema.xml has

<column name="price" size="19" type="DECIMAL"/>

instead of

<column name="price" size="19,2" type="DECIMAL"/>

Is there a setting that makes sure that both size and precision end up
in the size attribute? Or is this a bug?

Bye,
Hilco


---------------------------------------------------------------------
To unsubscribe, e-mail: torque-user-unsubscribe@db.apache.org
For additional commands, e-mail: torque-user-help@db.apache.org


Mime
View raw message