db-torque-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Annapareddy, Reddy (Contractor)" <Reddy.Annapare...@usmint.treas.gov>
Subject UPDATE statement conflicted with COLUMN FOREIGN KEY constrain con flict
Date Fri, 09 Jan 2004 19:46:44 GMT

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.


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

View raw message