title: Getting error when using prepareStatement with interval in query
body: <p>When running this query <code>SELECT SYSDATE + INTERVAL '7' DAY FROM DUAL;</code>  in a <code>prepareStatement</code> like this </p>
  
  <pre><code>    PreparedStatement ps =  connection.prepareStatement("select sysdate + interval ? day from dual" );      
      ps.setString(1, "7");
      ps.executeQuery();
  </code></pre>
  
  <p>It will throw an exception, that the syntax is not good, it clearly is, cuz i'm able to run the same query in sql-developer.</p>
  
  <p>Is this a bug in <code>PreparedStatement</code> ? can i use prepared statements together with interval?  </p>