foreign-key wich can be null ?!?
My shema :
<table name="UTILISATEUR" idMethod="idbroker">
....
<column name="NumeroService" type="INTEGER" />
...
<foreign-key name="RelationUtilisateur2" foreignTable="SERVICE">
<reference local="NumeroService" foreign="NumeroService" />
</foreign-key>
</table>
I have tried :
oUtilisateur.setNumeroservice(0);
and
oUtilisateur.setService(null);
But Torque want a reference in Service...
A solution is to remove the RelationUtilisateur2
Have you an other ?
Thanks Cedric
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]