openjpa-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From hilal <hilals...@yahoo.com>
Subject query setParameter with List
Date Fri, 05 Sep 2008 07:33:06 GMT

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? 

-- 
View this message in context: http://n2.nabble.com/query-setParameter-with-List-tp840676p840676.html
Sent from the OpenJPA Users mailing list archive at Nabble.com.


Mime
View raw message