There is a new tag now
@jboss.query 

which overrides the EJBQL in @ejb.finder with JBossQL.
The tag basically works like @ejb.finder, just that the query is defined in
JBossQL (a superset of EJBQL) instead of EJBQL. This is not to be confused
with JBossDeclaredSQL.

Cheers,
Bernie

-----Urspr�ngliche Nachricht-----
Von: Matthias Bohlen [mailto:mbohlen@;mbohlen.de]
Gesendet: Freitag, 15. November 2002 10:03
An: 'Tim'; [EMAIL PROTECTED]
Betreff: RE: [Xdoclet-user] jboss.finder-query


Hi,

a friend of mine had the same problem. We solved it using
    @ejb.finder signature="..." query="...some EJB QL query..."

We threw away the @jboss.finder tags.

That has has always worked and continues to work with the new version of
XDoclet. You get the additional advantage of app-server independent queries.

HTH
Matthias

----

Matthias Bohlen
Consulting that helps project teams to succeed...

Web:
http://www.mbohlen.de/

Snail:
Luise-Albertz-Str. 25
D-53340 Meckenheim
Germany

Phone: +49 (170) 772 8545
Fax: +49 (2225) / 945189


> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:xdoclet-user-admin@;lists.sourceforge.net]On Behalf Of Tim
> Sent: Friday, November 15, 2002 9:52 AM
> To: [EMAIL PROTECTED]
> Subject: [Xdoclet-user] jboss.finder-query
>
>
> 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?
>
> Thanks.
>
>
>
>
>
>
> -------------------------------------------------------
> 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

This e-mail and any attachment is for authorised use by the intended recipient(s) 
only.  It may contain proprietary material, confidential information and/or be subject 
to legal privilege.  It should not be copied, disclosed to, retained or used by, any 
other party.  If you are not an intended recipient then please promptly delete this 
e-mail and any attachment and all copies and inform the sender.  Thank you.


-------------------------------------------------------
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