Prepared statement with ' problem

From: Antonio (etantonio_at_libero.it)
Date: 01/16/04


Date: 16 Jan 2004 08:08:10 -0800

Good Morning,
I've this prepared statement

  PreparedStatement pstm =
       " select domicilio from anagrafe where id_struttura IN (?) "
  pstm.setString(1, " '60' , '12' , '85' , '45' ");

it seems that the ' in the string inserted like a parameter is a problem
how can I solve this ?? I've a variable number of values inside the IN.

Thanks

Antonio D'Ottavio