MAIL PROTECTED]>
Sent: Wednesday, September 19, 2001 4:04 PM
Subject: finder parameters
> Please help me!!!
>
> Is there any possibility to pass order direcrtion as parameter
> of a finder? That is parameter string ("asc" or "desc") is
mailto:[EMAIL PROTECTED]]On Behalf Of sergey
Sent: Wednesday, September 19, 2001 7:04 AM
To: Orion-Interest
Subject: finder parameters
Please help me!!!
Is there any possibility to pass order direcrtion as parameter
of a finder? That is parameter string ("asc" or "desc") is a
Please help me!!!
Is there any possibility to pass order direcrtion as parameter
of a finder? That is parameter string ("asc" or "desc") is added to
the end of SQL?
Ex.: findAllSortedByState("asc");
In orion-ejb-jar.xml:
Some
Kit,
Yes, you have to edit the file by hand. I know that isn't what you wanted
to hear, but it's alot nicer than what JRun was asking us to do for CMP
(writing the full query for everything, it wouldn't generate a single
findBy or create).
You can edit the orion-ejb-jar.xml, then include it in yo
I have discovered that when creating a finder with 2 parameters, the
resulting orion-ejb-jar.xml that gets generated by Orion outputs
instead of
for the finder example below. Single-parameter finders seem to generate the
correct query. Has anyone experienced this problem? Is there a work-aro