Heya Anders ...
I actually got it working yesterday! The field must be located in the Home
interface, and it works for partial queries also .. just don't put
'partial:' in front of them ..
john d
> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]]On Behalf Of Anders
> Bengtsson
> Sent: Monday, October 30, 2000 5:57 AM
> To: Orion-Interest
> Subject: Variable for defining finder query?
>
>
> Hello,
> I just found an example on orionsupport.com about an alternative to
> orion-ejb-jar.xml for specifying finder queries:
>
> public static final String findByOwner_query="full: select "+
> "Page.key, Page.document, Page.title, Page.description, Page.author,
> "+
> "Page.stylesheet, Page.hits, Page.url, Page.content from Page "+
> "where Page_Children.document=$1 and Page_Children.key=$2 "+
> "order by Page.hits desc, Page.title desc";
>
> This variable is supposed to be in the bean implementation class.
>
> My question: Is this in any way documented anywhere, and is there anyone
> who has actually tried it?
> I haven't mananged to make it work anyway...
>
> /Anders
> ________________________________________________________________________
> A n d e r s B e n g t s s o n [EMAIL PROTECTED]
> http://www.lecando.com