1 private String getInClauseWithParamNames(List ids) { 2 //logic to form the in clause with multiple bind variables 3 StringBuffer inClause = new StringBuffer(); 4 for (int i = 1; i < ids.size() + 1; i++) { 5 inClause.append(":empno" + (i)); 6 if (i < ids.size()) { 7 inClause.append(","); 8 } 9 } 10 return inClause.toString(); 11 }