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 20:46:44 UTC
UPDATE statement conflicted with COLUMN FOREIGN KEY constrain con
flict
hi!
I am using torque 3.1 gen. with mssql. We have a tinyint column (nulls
allowed) as FOREIGN KEY to another table. torque 3.1 gen is generating
these columns as java primitive byte data type which causing sql exception
"UPDATE statement conflicted with COLUMN FOREIGN KEY " since torque
initializing to '0'.
Is there any way I can change object.vm treat tinyint as javaobject(ex.
NumberKey) instead of primitive byte.
Any help is appreciated.
Reddy
---------------------------------------------------------------------
To unsubscribe, e-mail: torque-dev-unsubscribe@db.apache.org
For additional commands, e-mail: torque-dev-help@db.apache.org