2 Replies Latest reply on May 24, 2006 11:17 AM by luca del core

    Warning: The return type must be the entity bean's primary k

    luca del core Newbie

      I'm doing a porting from sun to jboss of an existing project. I've created all servlet, session and entity beans but when I run the project for each bean there's the following error


      10:02:43,370 WARN [verifier] EJB spec violation:
      Bean : CommessaBean
      Method : public String ejbCreate(String, String, String, String, String, String, String, long, long, String) throws CreateException
      Section: 12.2.3
      Warning: The return type must be the entity bean's primary key type.


      I'm using NetBeans 5.0 as IDE, jboss 4.0.2 ...Please...can anyone help me?