I want a string to be given as input to the SQL \"IN\" clause,where in i want a list of strings separated by commas
You may use org.apache.commons.lang.StringUtils.join() method, or implement join operation yourself.