Jeremy,
Look at the orion-ejb-jar.xml file that is generated (if you're using the defaults, it
should be in $ORION_HOME/application-deployments/<yourapp>/<ejb-jar
name>/orion-ejb-jar.xml) and look for a <finder-method ...> tag. Compare it to this
document http://www.orionserver.com/docs/orion-ejb-jar.xml.html
Essentialy you're going to have to specify your WHERE clause in this file.
Jeff Hubbach
Jeremy C wrote:
> Greetings!
>
> I have created a finder method in a CMP managed bean. It searches by many
> fields, not quite all, but any one I would want to search by.
>
> What I was hoping to accomplish from this was being able to specify
> diffrent fields to search by. Here's what I mean... This is my search.jsp page:
>
> <form>
> name: <input type="text" name="name" value="%">
> city: <input type="text" name="city" value="%">
> state: <input type="text" name="state" value="%">
> <input type="submit">
> </form>
>
> My search-results.jsp:
>
> myEjbHome.findAll(request.getParameter("name"),.....request.getParameter("state"));
>
> what this does is returns all records no matter what I enter into my form.
> I guess I am seeking a little guidance. If this is the best way to do what
> I am wishing, what could I check to see why it's failing? Or is there a
> better way of doing this?
>
> Thanks!
>
> Jeremy - [EMAIL PROTECTED]
--
Jeff Hubbach
Internet Developer
New Media Designs, Inc.
www.nmd.com