title: Spring jdbc template '?' placeholder screening
body: <p>In my project I use Spring JDBC template and PostgreSQL. I use following code to check does specified column exist in JSON field or not</p>
  
  <pre><code>encode(configuration, 'escape') :: JSONB ? 'accountsIds'
  </code></pre>
  
  <p><a href="https://www.postgresql.org/docs/9.5/static/functions-json.html" rel="nofollow noreferrer">Here is a link where you can find information about what does '?' in PostgreSQL do</a></p>
  
  <p>I use named parameters also, so in this case spring jdbc give me following 
  error: </p>
  
  <blockquote>
    <p>org.springframework.dao.InvalidDataAccessApiUsageException: Not allowed to mix named and traditional ? placeholders.</p>
  </blockquote>
  
  <p>But '?' is not a placeholder here it's a part of PostgreSQL syntax.</p>
  
  <p>Is there any way to say spring jdbc that '?' is not a placeholder ?</p>