Hello You have to define javaType=Object in the column entry of your schema file, both in the foreign key column and and the column of the main table.
-----Original Message----- From: Annapareddy, Reddy (Contractor) [mailto:[EMAIL PROTECTED] Sent: Friday, January 09, 2004 9:11 PM To: [EMAIL PROTECTED]; [EMAIL PROTECTED] Subject: 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: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
