EJB-QL is not yet implemented in Orion.  Try this:

http://www.c2.com/cgi/wiki?OrionServerSpecSupport

Note that Orion will automatically create finders with a single
parameter that corresponds to the name of a cmp field.  Otherwise you
have to write them yourself.

Jeff Schnitzer
[EMAIL PROTECTED]

> -----Original Message-----
> From: Kit Cragin [mailto:[EMAIL PROTECTED]]
> Sent: Sunday, July 08, 2001 10:30 AM
> To: Orion-Interest
> Subject: 2 parameter finder finding wrong thing
> 
> I am using EJB 2.0 and have a finder method that takes 2 parameters
(e.g.
> the WHERE clause looks something like "WHERE columnOne = ?1 AND
columnTwo
> =
> ?2").
> 
> No matter what I do, it does not return the right entity. I have tried
> single-object return, Collection return, narrowing, not narrowing,
> checking
> parameters, etc.
> 
> I am running Orion 1.4.7 on HypersonicSQL for my testbed. Any ideas?
> 
> Kit Cragin
> VP of Product Development
> Mongoose Technology, Inc.
> www.mongoosetech.com
> 


Reply via email to