code: public static String getInClausePlaceholdersForCount(final int placeholderCount)
     {
        // we cant overload method name because the only item for getInClausePlaceholders can be Integer which leads to ambiguity
        if (placeholderCount < 0)
        {
           throw new IllegalArgumentException("Placeholder count must be greater than or equal to zero");
        }
        if (placeholderCount == 0)
        {
           return " ('s0me n0n-ex1st4nt v4luu') ";
        }
        // items.length of "?" + items.length-1 of "," + 2 spaces + 2 brackets
        final StringBuilder sb = new StringBuilder(3 + placeholderCount * 2);
        sb.append(" (?");
        for (int i = 1; i < placeholderCount; i++)
        {
           sb.append(",?");
        }
        return sb.append(") ").toString();
     }
docs: Get a SQL "IN" clause for the number of items.
  
  @param placeholderCount a count of "?" placeholders
  @return a parenthetical String with {@code item.length} placeholders, eg. " (?,?,?,?) ".
  @throws IllegalArgumentException if placeholderCount is negative