|
Yeah, I’ve seen a report for this
bug, probably submitted to bugs database too. If not filed then open a new bug
entry for it. Btw you can easily fix this problem by
defining an AbstractTest session bean and deriving
the two other beans from it. It’s always a good idea to derive from an
abstract base class than a concrete one. Ara. -----Original Message----- Hello, This is my first post to this list and I am
frustrated. Everything is working fine for me in my refactoring from
ejbgen/websphere to xdoclet/jboss except when I try to use
inheritance. The problem occurs during the compile and has to do with the
fact that xdoclet is generating (in the case of the stateless session bean) a
default create method in each class which return different types. I tried to put a create method that had the same signature
as the base class hoping to cause xdoclet not to generate the create method but
that didn't work. I see that the examples use inheritance and that is what
kills me. What am I doing wrong? What do I need to do to implement
entity inheritance? Code below: Thanks for your help Pete-- BASE CLASS --------------------- /** public class TestBaseBO implements SessionBean { } TEST CLASS --------------------- /** public class TestBO extends TestBaseBO implements
SessionBean { } |
- [Xdoclet-user] Inheritance and XDoclet Pete Marsden
- RE: [Xdoclet-user] Inheritance and XDoclet Ara Abrahamian
- RE: [Xdoclet-user] Inheritance and XDoclet Pete Marsden
- RE: [Xdoclet-user] Inheritance and XDoclet Tim McCune
- [Xdoclet-user] Finder that returns an inte... Pete Marsden
- Re: [Xdoclet-user] Inheritance and XDoclet Joseph Parks
