The following comment has been added to this issue: Author: james vincent brady Created: Tue, 11 Jan 2005 10:22 AM Body: This still does not work if the super method is not present in the application (i.e. it is in the classpath), even when the classpath is correctly defined for xdoclet. I tested this by copying the source into an application and building (process is correct ejbLoad, ejbStore etc methods call a super - then removed the copy of the source and the ejbLoad, ejbStore methods do not contain a super. --------------------------------------------------------------------- View this comment: http://opensource.atlassian.com/projects/xdoclet/browse/XDT-488?page=comments#action_15599
--------------------------------------------------------------------- View the issue: http://opensource.atlassian.com/projects/xdoclet/browse/XDT-488 Here is an overview of the issue: --------------------------------------------------------------------- Key: XDT-488 Summary: XDoclet incorrectly generates implementation of CMP lifecycle-methods Type: Bug Status: Closed Priority: Critical Resolution: FIXED Original Estimate: Unknown Time Spent: Unknown Remaining: Unknown Project: XDoclet Components: EJB Module Versions: 1.2 Beta 3 Assignee: xdoclet-devel (Use for new issues) Reporter: Jarl Petter Kvalsvik Created: Thu, 22 May 2003 6:23 AM Updated: Tue, 11 Jan 2005 10:22 AM Description: Scenario: CMP class extends abstract class (MyAbstractEntityBean) with default implementation of ejbActivate(), ejbLoad(), ejbPassivate(), ejbRemove(), ejbStore(), setEntityContext(ctx) and unsetEntityContext(). The CMP class that XDoclet generates includes emtpy implementation of these lifecycle-methods such that they are overridden and the implementation in the abstract class (MyAbstractEntityBean) is never called. Suggested solutions: a) Make sure that no implementation of the lifecycle-methods exist in the inheritance hierarchy before generating empty stubs. b) Include calls to super implementation when implementation exists. c) Do never generate lifecycle-methods. --------------------------------------------------------------------- JIRA INFORMATION: This message is automatically generated by JIRA. If you think it was sent incorrectly contact one of the administrators: http://opensource.atlassian.com/projects/xdoclet/secure/Administrators.jspa If you want more information on JIRA, or have a bug to report see: http://www.atlassian.com/software/jira ------------------------------------------------------- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt _______________________________________________ xdoclet-devel mailing list xdoclet-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/xdoclet-devel