Bugs item #519019, was opened at 2002-02-18 09:54
You can respond by visiting: 
http://sourceforge.net/tracker/?func=detail&atid=402704&aid=519019&group_id=31602

Category: None
Group: None
Status: Closed
>Resolution: Duplicate
Priority: 5
Submitted By: Clinton West (clintonwest)
Assigned to: Nobody/Anonymous (nobody)
Summary: Duplicate method in inherited home i/f

Initial Comment:
I have a finder method findAll defined in the base 
interface for our home interfaces. An @ejb:finder tag 
is then defined for this method in each bean. The 
finder tag is there so that the bean-specifc ejb-ql, 
is inserted into the xml files. However, the generated 
home interface then overrides the findAll method.

This situation then confuses weblogic ejbc when it 
tries to generate the implementations for the home 
interface, it winds up with two indentical 
implementations for the findAll method. (Which causes 
a compiler error when trying to compile the generated 
implementations).

Ejbc is happy if I manually remove the overriden 
method from the generated Home i/f before running it 
on them.

I am using CMP2.0, EJB spec 2.0.
And, the bean classes themselves are generated 
directly from a database.

Attached is the code for the parent home interface, 
and the class tags from the bean class.

----------------------------------------------------------------------

>Comment By: Andrew Stevens (stevensa)
Date: 2002-03-08 22:16

Message:
Logged In: YES 
user_id=247081

Duplicate of #519011

----------------------------------------------------------------------

You can respond by visiting: 
http://sourceforge.net/tracker/?func=detail&atid=402704&aid=519019&group_id=31602

_______________________________________________
Xdoclet-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-devel

Reply via email to