Anmol

> I recently upgraded from torque-3.0-b2 to torque-3.0-rc1. I am having problems 
>compiling torque generated file.  The code generated by the new version tries to 
>convert null to an int.

I think I experienced the same think when I migrated. Check your
database schema to see if you set default="null" in the column element.
If so, I think this is a problem with the way Torque handles null values
when it uses primitives instead of objects. See
http://nagoya.apache.org/scarab/issues/id/TRQS63

Also, John McNally suggested setting javaType="object" on the column to
avoid using int.

Do me a favor, if I'm on the right track, let me know how you solve it!

Eric

-- 
Eric Emminger
[EMAIL PROTECTED]


--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to