openjpa-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From hilal <>
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 :

so it becomes:       query.setParameter(idList);

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

View this message in context:
Sent from the OpenJPA Users mailing list archive at

View raw message