Java Mailing List Archive

http://www.gg3721.com/

Home » users.openjpa »

query setParameter with List

hilal

2008-09-05

Replies: Find Java Web Hosting

Author LoginPost Reply

hey everybody,

I am trying to write a query like this:

SELECT * from person WHERE personId IN ( ?1 )

the query should take just one parameter, List of personIds :
util.List<Integer>

so it becomes:     query.setParameter(idList);

how i can do this?
or is it possible with openJpa?

--
Sent from the OpenJPA Users mailing list archive at Nabble.com.

©2008 gg3721.com - Jax Systems, LLC, U.S.A.