1 Reply Latest reply on Jul 18, 2002 11:00 PM by quang

    JBoss3.1.0alpha and CMR field is not set

    quang Newbie

      Hi,

      It seems to me that the ejbPostCreate bug is not totally fixed. I'm experiencing a problem with the CMR field is not set when i'm trying to create entity EJB. If i create two entity EJB with the same relationship object, only the last entity EJB has the CMR field set to the primary key of the relationship object, the first entity EJB has that field set to null.

      For example, i have a company and role entities with a role belongs to a company.

      if i create 2 roles: A and B. and both of them belongs to a company C.

      After creation, when i check the role table, only B has the companyId field set, while A has the column set to null.

      Can any body please help?

      Regards,

      Quang