Hello, When you store data (store() method) I have seen that OJB put values by default if you don't assign them. These default values are: - "NULL" for varchar, datetime fields - "0" for int and bit fields
But there is a problem to insert "0" as default integer value. If you have an integer field which is a foreign key, you should have a "NULL" value instead of a "0". If you insert a "0" value in the foreign key field, a "0" value have to be as primary key in the table where the foreign key is assigned. What do you think? Thank you Sylvain -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
