db-torque-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dan Tran" <dantt...@hotmail.com>
Subject null foreign key not allow
Date Sat, 14 Dec 2002 07:49:02 GMT

I have table A which has  INTEGER column references (foreign key) a row ID of another table
The reference is null allow.

When I create A object with null value of the B object reference, a save to DB of object A
excexption, expecting Table B to have a row with ID 0.

My configuration is MSSQL, Torque 3.0, MS driver.

Is this a bug?

Please advice.

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message