Bugs item #453332, was opened at 2001-08-20 06:27 You can respond by visiting: http://sourceforge.net/tracker/?func=detail&atid=402704&aid=453332&group_id=31602 Category: ejbdoclet Group: None >Status: Closed >Resolution: Fixed Priority: 5 Submitted By: Andrew Stevens (stevensa) Assigned to: Nobody/Anonymous (nobody) >Summary: Too many <cmp-field>s Initial Comment: According to the 1.1 EJB spec, there shouldn't be any cmp-field elements in the DD for an entity bean if the persistence-type is Bean. However, xdoclet adds them regardless of whether it's BMP or CMP. ---------------------------------------------------------------------- Comment By: Andrew Stevens (stevensa) Date: 2001-08-20 07:11 Message: Logged In: YES user_id=247081 NB this can be worked around by using ifEntityIsCmp in the ejb-body.j template, but a better solution is to put an if( isEntityCmp( getCurrentClass() ) ) { around the body of the forAllCmpFields(String template) method in AbstractEjbSubTask.java (otherwise, there'd be no real need for forAllCmpFields, because it's doing much the same as forAllPersistentFields). ---------------------------------------------------------------------- You can respond by visiting: http://sourceforge.net/tracker/?func=detail&atid=402704&aid=453332&group_id=31602 _______________________________________________ Xdoclet-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/xdoclet-devel
