ORA-00933: SQL command not properly ended on jdbc call
<p>I have this query:</p>

<pre><code>SELECT col FROM table WHERE   
last_updated &gt; SYS_EXTRACT_UTC(systimestamp) - INTERVAL ?  DAY TO SECOND(1)
</code></pre>

<p>and in my db access code,</p>

<pre><code>stmt.setString(1, "0 00:01:30.0");//stmt is OraclePreparedStatement
rs = stmt.executeQuery();//results in exception
</code></pre>

<p>Exception message: java.sql.SQLSyntaxErrorException: ORA-00933: SQL command not properly ended</p>

<p>If I replace the bind and run the query in Sql Developer, it runs without error. Where am I wrong with the java code?</p>