2 Replies Latest reply on Oct 7, 2002 10:59 AM by Shaun Appleton

    ejbCreate warning against bad practice?

    Shaun Appleton Newbie

      In my naivity have coded an ejbCreate method with the following constructor:
      public LessonPK ejbCreate(int, String, String, String, String, String, String, String, String, int, int, String, int, String, String, int, String, int, String)

      Upon deployment I get:

      Bean : Lesson
      Method : public LessonPK ejbCreate(int, String, String, String, String, String, String, String, String, int, int, String, int, String, String, int, String, int, String) throws CreateException
      Section: 12.2.4
      Warning: No warning message found, please file a Bug report.

      According to EJB Design patterns by Manrinescu et al
      I should only pass parameters that are mandatory for its creation.

      Who do I suggest that this advice is reported in the warning?