>From memory you need to have the query attribute to the @ejb.finder tag.

hth
dim


----- Original Message ----- 
From: "Konstantin Priblouda" <[EMAIL PROTECTED]>
To: "Tim" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Friday, November 15, 2002 8:49 PM
Subject: Re: [Xdoclet-user] jboss.finder-query


> 
> --- Tim <[EMAIL PROTECTED]> wrote:
> > I am using 1.2.0b1.
> > 
> > I have scanned previous entries in the list and
> > their appears to 
> > be no satisfactory explanation as to how the
> > jboss.finder-query
> > tag seems to be ignored:
> > 
> >  * @ejb.finder signature="java.util.Collection
> > findAllFud()"
> >  * @jboss.finder-query name="findAllFud"
> >  *                     query="FUD_FACTOR > 1"
> >  *                     order="FUD_FACTOR"
> >  *                     read-ahead="true"
> > 
> > Appears to have absolutely no effect what so ever. 
> > Nothing appears in
> > the xml files.  I can't figure out if this is a bug
> > or something I am 
> > missing.
> > 
> > Does anyone know under what conditions the
> > finder-query tag
> > does not write contents to the ejb-jar.xml and
> > jbosscmp-jdbc.xml?
> 
> What jboss / cmp version you are using ( generating
> for ) ?
> ---------%<-----------
>  * @ejb.finder        signature="java.util.Collection
>  *      findByCustomerId(java.lang.Integer cid)"
> unchecked="true" query="SELECT
>  *      DISTINCT OBJECT(ad) FROM Address AS ad WHERE
> ad.customerId = ?1"
>  * @jboss.query       signature="java.util.Collection
>  *      findByCustomerId(java.lang.Integer cid)"
> query="SELECT OBJECT(ad) FROM
>  *      Address AS ad WHERE ad.customerId = ?1 ORDER
> BY ad.description"
> -----------%<-------------
> 
> This seems to work OK. 
> 
> regards,
> 
> =====
> Konstantin Priblouda ( ko5tik )    Freelance Software developer
> < http://www.pribluda.de > < play java games -> http://www.yook.de >
> < render charts online -> http://www.pribluda.de/povray/ >
> 
> __________________________________________________
> Do you Yahoo!?
> Yahoo! Web Hosting - Let the expert host your site
> http://webhosting.yahoo.com
> 
> 
> -------------------------------------------------------
> This sf.net email is sponsored by: To learn the basics of securing 
> your web site with SSL, click here to get a FREE TRIAL of a Thawte 
> Server Certificate: http://www.gothawte.com/rd524.html
> _______________________________________________
> Xdoclet-user mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/xdoclet-user


-------------------------------------------------------
This sf.net email is sponsored by: To learn the basics of securing 
your web site with SSL, click here to get a FREE TRIAL of a Thawte 
Server Certificate: http://www.gothawte.com/rd524.html
_______________________________________________
Xdoclet-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-user

Reply via email to