You are viewing a plain text version of this content. The canonical link for it is here.
Posted to torque-dev@db.apache.org by "Annapareddy, Reddy (Contractor)" <Re...@usmint.treas.gov> on 2004/01/09 21:10:50 UTC

NULLS allowed FOREIGN keys short (SMALLINT) or byte(TINYINT)

hi!

If a table has nulls allowed FOREIGN keys short (SMALLINT) or byte(TINYINT),
Torque generating code and initializing these to a default value of 0. where
0(ZERO) is not valid value in foreign keyed table. Causing update constrain
conflict since torque using java primitive short/byte. In torque 3.0.2 these
columns as numberkey does not caused any problem.

Any thoughts..



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