Hi,
> The finder have been put on class level, before the
> other specifics tags such as @jboss ones.

Hm. Should be ok.

Here is an example that works for me:

 * @ejb.bean name="Person"
 *      type="CMP"
 *      cmp-version="2.x"
 *      jndi-name="ejb/xddemo/Person"
 *      local-jndi-name="ejb/xddemo/LocalPerson"
 *      view-type="local"
 *      primkey-field="persID"
 *
 * @ejb.persistence table-name="Persons"
 *    
 *  @ejb.finder signature="java.util.Collection findByName(java.lang.String
name)"
 *      query="SELECT OBJECT (o) FROM Person o WHERE o.name=?1"
 *      description="Select entries by the family name"
[...]
public abstract class PersonBean implements javax.ejb.EntityBean {
[...]

later in the file I have a field 'name' (which is referenced in the finder).

Hope that helps

-- 
Bancotec GmbH      EMail: [EMAIL PROTECTED]
Calwer Str. 33     Telefon: +49 711 222 992 900
D-70173 Stuttgart  Telefax: +49 711 222 992 999
Ein Unternehmen der Cellent AG http://www.cellent.de/



-------------------------------------------------------
This SF.NET email is sponsored by:
SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
http://www.vasoftware.com
_______________________________________________
xdoclet-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-user

Reply via email to