Posted By:
Bhagyashree_Jayaram
Posted On:
Tuesday, June 22, 2004 03:44 AM
Hi,
what you are thinking is write you are getting an error as the ids passed contains '1,2,3,4' instead of 1,2,3,4.
while defining the EJB-QL take the parameter type for each parameter to be of type long and pass the values for those ids.So now the genereated finder would containing the setting of each attribute as
pstmt.setLong(1,id1)
pstmt.setLong(2,id2)
.
..
.
.
pstmt.setLong(N,idN)
and your problem will be solved.
Hope this helps....
Bhgaya