title: PSQLException error at or near "(" position 149
body: <p>Hello i am trying to upload file in postgresql database but i am getting an error:  Here is the stacktrace of code..Can anyone give me idea where things are going wrong?? My query is-<br></p>
  
  <pre><code>String sql = "insert into project_details (document_type,file_type,file_upload,status,gid,userid,s_comment,s_date,s_time) values (?,?,?,?,?,?,?,current_date(),current_time());";   
  </code></pre>
  
  <pre class="lang-none prettyprint-override"><code>org.postgresql.util.PSQLException: ERROR: syntax error at or near "("
    Position: 149
  </code></pre>