title: ORA-01858: a non-numeric character was found where a numeric was expected
body: <p>Here is my query,    </p>
  
  <pre><code>select count(*) from "+table1+" where 
    latitude = '"+selectedlat+"' and       
    longitude = '"+selectedlong+"' and 
    observation_date between  TO_DATE('"+selectedobstime+"','mm/dd/yyyy hh24:mi:ss') AND 
    TO_DATE('"+selectedobstime+"','mm/dd/yyyy hh24:mi:ss')
  </code></pre>
  
  <p>When i am running this query on jsp page its showing non-numeric character was found where a numeric was expected.</p>