Hi
From the String[] Array, Construct a
Comma-Separated String Of Names in the following format ,
'Name1','Name2','Name3'
The following code will help you get a Comma-Separated-String of Names
String param = stringArray[0];
for (int i = 1; i<stringArray.length; i++) {
param += stringArray[i];
}
Then, just set the param in the statement as follows,
preparedStatement.setString(1,param);
Then run the query.
Hope this helps you,
Thanks.
Sathya