On Mon, Oct 30, 2000 at 11:56:45AM +0100, Anders Bengtsson wrote:
> 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.
It's supposed to be in the Home interface (the natural location, since
CMP EJB's have no finder method implementations in the actual bean
implementation).
> My question: Is this in any way documented anywhere, and is there anyone
> who has actually tried it?
Works here.
Regards, Markus.
--
Markus Holmberg | Give me Unix or give me a typewriter.
[EMAIL PROTECTED] | http://www.freebsd.org/