So I am trying to make a EJB finder method, here is part of ejb-jar.xml



select object(o) from Objekti o where o.id IN (?1)

I am getting error Unknown EJB or ASN name int[]

It is happening for every array type I try to enter byte[],
java.lang.Integer[] etc...

1) Anyone can help with the error ?
2) How does the valid ejb-ql looks for the int[] or Integer[] array. I am
not sure that (?1) will work.