I have a List<Long> matchingLongs = new Arraylist();
that I would like to pass to an SQL statement :
WHERE Id IN (matchingLongs);
How can I dynamically populate the Longs
into the query?
If I would print to console it should look like :
WHERE Id IN (1223, 9834, 3, 924, 88778, 65652165223, 34, 8723738793287);
Thank you all.