I haven't tried it yet, but you might try passing in a list instead (using
Arrays.asList()), then in your query in orion-ejb-jar.xml use
query="$type in ($1)"

Don't know if it'll work or not, but I don't think there's a way of
looping over the contents of an array in the finder method.

Jeff.

On Sat, 30 Jun 2001 13:56:09 -0700
Alex Paransky <[EMAIL PROTECTED]> wrote:

>I have a home finder method with the following signature:
>
>Collection findByTypes(TypeEntity[] types) throws RemoteException;
>
>Is there a way to implement this method using CMP by either directly
writing
>the query in ejb-jar.xml, or using orion-ejb-jar.xml method?  I am using
>Orion 1.5.2.
>
>Thanks.
>-AP_
>
>

Reply via email to