3 Replies Latest reply on Aug 27, 2001 1:25 PM by Praveen Balakrishnan

    An error when deploying EJB.. is this a bug.

    Praveen Balakrishnan Newbie

      Hi all,

      I am trying to deploy a BMP EJB.

      I am getting this following exception.


      Section: 9.2.9
      Warning: The primary key class must override equals().


      I have implemented the equals method in my PK class..

      And here the implementation code..

      public boolean equals(MyBMPPK other) {
       return ( this.MY_ID.equals(other.MY_ID)
       && this.MY_ID2.equals(other.MY_ID2) );
      
      }
      


      I appreciate any help in fixing this problem.