Bugs item #588357, was opened at 2002-07-30 04:50 You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=376685&aid=588357&group_id=22866
Category: JBossCMP Group: v3.0 Rabbit Hole >Status: Closed >Resolution: Fixed Priority: 5 Submitted By: Steve Buikhuizen (nznl) >Assigned to: Christian Riege (lqd) Summary: No warning message ejbFindByPrimary Initial Comment: OS : Win2k or Linux JDK : Sun 1.3 When I deploy my entity bean jar, I get many warnings about the ejbFindByPrimaryKey finders. They always refer to two sections of code. The two warnings are.... 2002-07-29 19:42:20,915 INFO [org.jboss.ejb.EJBDeployer] Bean : UserType Method : public Integer ejbFindByPrimaryKey(Integer) Section: 9.2.5 Warning: No warning message found, please file a Bug report. 2002-07-29 19:42:20,916 INFO [org.jboss.ejb.EJBDeployer] Bean : UserType Method : public Integer ejbFindByPrimaryKey(Integer) Section: 12.2.5 Warning: No warning message found, please file a Bug report. Can somebody add messages for these situations? ---------------------------------------------------------------------- >Comment By: Christian Riege (lqd) Date: 2002-07-30 11:40 Message: Logged In: YES user_id=176671 The warning messages have been fixed in 3.0.1RC1 and contain the correct warning. The "Section:" output refers to the appropriate section in the EJB Specification (either 1.1 or 2.0 depending whether you're using CMP 1.1 or 2.0 ). I'll post the relevant messages here for your convenience: 9.2.5: The method argument types of a finder method must be legal types for RMI/IIOP. for 12.2.5. it is any of the below: 12.2.5.a = A finder method must be declared as public. 12.2.5.b = The method must not be declared as final or static. 12.2.5.d = The return type of a finder method must be the entity bean's primary key type, or a collection of primary keys (see Specification Section 12.1.7) 12.2.5.e = Every entity bean must define the ejbFindByPrimaryKey method. 12.2.5.e1 = The result type for the ejbFindByPrimaryKey method must be the primary key type. 12.2.5.e2 = The ejbFindByPrimaryKey method must be a single-object finder. hope this helps, christian ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=376685&aid=588357&group_id=22866 ------------------------------------------------------- This sf.net email is sponsored by: Dice - The leading online job board for high-tech professionals. Search and apply for tech jobs today! http://seeker.dice.com/seeker.epl?rel_code=31 _______________________________________________ Jboss-development mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-development
