db-torque-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Hilco Wijbenga <hilco.wijbe...@elasticpath.com>
Subject JDBC Ant task: Fix for DECIMAL & NUMERIC columns
Date Thu, 06 Oct 2005 17:34:32 GMT
Since I am not allowed to add issues to Scarab, I will just send the
issue and fix here.

I noticed that the jdbc Ant target did not create DECIMAL and NUMERIC
columns correctly. It would create, e.g.,

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

instead of

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

I had a look in the code (TorqueJDBCTransformTask.java) and I think my
attached changes fix the problem (i.e., works for me :-) ).


View raw message