Re: finder parameters

2001-09-19 Thread Eddie
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

RE: finder parameters

2001-09-19 Thread The elephantwalker
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

finder parameters

2001-09-19 Thread sergey
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

Re: ejb-jar.xml --> orion-ejb-jar.xml bug? finder parameters

2001-07-08 Thread Jeff Hubbach
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

ejb-jar.xml --> orion-ejb-jar.xml bug? finder parameters

2001-07-08 Thread Kit Cragin
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