I am looking for verification on the following:
The way to use PreparedStatement with an unknown number of parameters is the way shown in this question, and there's no way to get around such iteration on the Java/application side.
I have been looking for a "varargs" kind of method & syntax to feed into the PreparedStatement the variable number of arguments, say on a collection, and plug this as a single variable-placeholder into the query.
This is not a question. looking for verification just not to miss out.