4 Replies Latest reply on Sep 1, 2003 5:13 AM by maciek

    to pass a pk value to ejbCreate or not to pass?

    maciek Newbie


      I am wondering whether it is necessary to pass pk value to ejbCreate method. In most examples that I have seen pk is passed.
      However when a new row is inserted , a pk is something artificial, so would not it be better to let cmp find pk on its own(e.g by using some other stateles session bean )?
      then ejbCreate would get only "real" data

      what am I missing? :)


      maciek zywno