title: How to replace single quote in Java with Postgres?
body: <p>How to replace single quote in Java with Postgres?</p>
  
  <pre><code>select * from where id in ('&lt;45646300.KDSFJJSKJSDF95'fdgdfgdfgd&gt;', 'fdgdfgdg');
  </code></pre>
  
  <p>I always use params like</p>
  
  <pre><code>select * from where id = ?;
  </code></pre>
  
  <p>But in this case i have problem, where i have 'in' statement with string passed to it.</p>
  
  <p>I wish to replace all dangerous chars</p>