title: Can we call sql function in prepared statement?
body: <p>I have a oracle function. function name is TESTFUNCTION. The code i used is </p>
  
  <pre><code>PreparedStatement pStmt = con.prepareStatement("SELECT dbo.TESTFUNCTION(?,?)") ;
  </code></pre>
  
  <p>and I set the parameters also. </p>
  
  <pre><code>ResultSet rs = pStmt.executeQuery();
  </code></pre>
  
  <p>This code will produce the below exception</p>
  
  <pre><code>java.sql.SQLSyntaxErrorException: ORA-00923: FROM keyword not found where expected
  </code></pre>
  
  <p>Any Help!!</p>