facebook

xdoclet ejb.finder using generics

💡
Our Forums Have Moved

For help with installation, bugs reports or feature requests, please head over to our new forums.
Genuitec Community on GitHub

  1. MyEclipse IDE
  2.  > 
  3. Java EE Development (EJB, JSP, Struts, XDoclet, etc.)
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #236016 Reply

    egogenesic
    Member

    Hi,
    am using xdoclet for ejb application using java5 and trying to get xdoclet via myeclipse to generate finder methods that return a collection with a specified type parameter.

    am specifying @ejb.finder signature=”java.util.Collection<com.foo.Bar> findThings()” query=”…”

    however, my finder method in the bean class is generated to look like
    public com.foo.Bar findThings()… instead of java.util.Collection<com.foo.Bar> findThings() which of course is giving me errors. the other alternative- not specifying the type – leaves me with hundreds of compiler warnings.

    is this an xdoclet issue or a myeclipse thing?

    have installed myeclipse 4.0GA running on windows 2000

    thanks

    #236061

    Riyad Kalla
    Member

    Since MyEclipse acts as a shell to execute XDoclet, this is definately a XDoclet thing, and I know we didn’t test the case of generating Java 5 syntax, just processing files that contained it without blowing up. This could simply be an issue that this particular version of XDoclet (1.2.3) doesn’t support Java 5 yet.

Viewing 2 posts - 1 through 2 (of 2 total)
Reply To: xdoclet ejb.finder using generics

You must be logged in to post in the forum log in