title: insert date in oracle database via jsp java
body: <p>I've searched stackoverflow but did not found the solution (at least the way I want it).</p>
  
  <p>I have a JSP page which calls a Java method to insert a date into Oracle database.
  It passes a String.
  The problem, how to build the string to execute the insert?</p>
  
  <pre><code>String myInsert = "INSERT INTO table_name 
    values (..., to_date(&lt;&lt;Java variable name&gt;&gt;, 'yyyy/mm/dd hh:mm'), ....);
  </code></pre>
  
  <p>where Java variable name refers to a variable of type String.
  I want to let Oracle to the job, not necessarily using SimpleDateFormat, if it's possible. So, should I use '' or " "
  Youre help would be very much appreciated</p>