2 Replies Latest reply on Jun 21, 2002 4:25 AM by erden

    jboss-3.0.0-setting cmr fields at unidirectional relationshi

    erden

      I am using jboss-3.0.0_tomcat-4.0.3 (CMP2.0), jdk1.3.1

      I have some 1-1 and 1-many unidirectional relationships.

      When I try to set the cmr fields at ejbPostCreate() it ignores it and it sets the field to null.
      It works if I set it from my session bean after I create the entity.

      Is this correct/the only way of doing it. Or is it a bug at jboss.

      PS I have tried with bidirectional to set the cmr fields at ejbPostCreate() and it works fine. So it seems to me that it is a problem with unidirectional.

      Many thanks in advance

      Erden