dcsimg
Select Methods?
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Andy_Doerr
Posted On:   Wednesday, November 20, 2002 02:52 PM

How do I get xdoclet to create the abstract of a select method so I can use it from my interface?

I have tried:

			

/**
* @ejb.select
* signature="Collection selectAll()"
* query="SELECT OBJECT(u) FROM WA_USER as u"
* result-mapping="Local"
*/
public abstract Collection ejbSelectAll();

Re: Select Methods?

Posted By:   Ara_Abrahamian  
Posted On:   Friday, November 22, 2002 02:32 AM

In 1.1.x @ejb.select is a class level tag, so move ejb.select to the class header. In 1.2.x it's a method level tag for ejbSelectBlabla methods and there's no need for the signature parameter.


Ara.

About | Sitemap | Contact