0 Replies Latest reply on May 11, 2005 1:23 AM by yxyang

    CMR question

      Hi

      I have entity bean A and B, field x of A is mapped as the primarykey field of B.

      And x is integer. When Entity A is created, field x is always set to integer zero even i don't set anything in the ejbCreate method. Actually, i want to CMP engineer just leave this field as enpty.

      Due to the unexpected "zero" value of field x, when i load A, the CMP engineer tries to load record from B by using integer zero as the primary key of B. However, this record is not there at that moment.

      Who can help me solve this "unexpected zero" problem?

      Thanks alot

      Yang