title: Using question mark in Java PreparedStatement
body: <p>I send request <a href="http://xxxx.com/test/?app_idx=80" rel="nofollow">http://xxxx.com/test/?app_idx=80</a> via browser.</p>
  
  <p>But the ibatis parses this wrong.</p>
  
  <pre><code>select
      CONCAT('http://localhost:8080/apps/icon/download/?app=', app_idx)
  from test
  where app_idx = ?;
  </code></pre>
  
  <hr>
  
  <p>I expected my query to be </p>
  
  <pre><code>select
      CONCAT('http://localhost:8080/apps/icon/download/?app=', app_idx)
  from test
  where app_idx = **80**;
  </code></pre>
  
  <p>But the real was 'http://localhost:8080/apps/icon/download/?app=80'.</p>
  
  <pre><code>select
      CONCAT('http://localhost:8080/apps/icon/download/80app=', app_idx)
  from test
  where app_idx = **?**;
  </code></pre>
  
  <p>Is there a way to make it right?</p>