Hi,
In one of my table, there are few foreign keys (of type NUMBER) which can be NULL. I have a CMP for that table and no value is set for the attributes corresponding to the foreign keys in its create method. During the invocation of create, it is throwing Constraint Violation on this Foreign Key. On decompiling the container generated code for this CMP, I found these values being set to 0. Is there any solution for this problem.
TIA
-deepak
(I am using WLS 8.1, EJBGen, Oracle 8,
EJB 2.0)