
|
If you were logged in you would be able to see more operations.
|
|
|
| Resolution Date: |
02/Feb/07 09:52 PM
|
|
Using a mysql database, a data type that is numerical, but has no default value results in the schema generation to have default="". This causes the om generator to create java file that are declared like int customerID = ; This causes a compile error.
To fix, just change org.apache.torque.task.TorqueJDBCTransformTask line 308 from
if (defValue1 != null)
to
if (StringUtils.isNotEmpty(defValue))
|
|
Description
|
Using a mysql database, a data type that is numerical, but has no default value results in the schema generation to have default="". This causes the om generator to create java file that are declared like int customerID = ; This causes a compile error.
To fix, just change org.apache.torque.task.TorqueJDBCTransformTask line 308 from
if (defValue1 != null)
to
if (StringUtils.isNotEmpty(defValue)) |
Show » |
|