title: How to insert DateTime in MySql WorkBench using java?
body: <p>How can I store data time in my SQL Work Bench using java?
  I tried by Failed to do so.
  Want to insert current Date time in Order Column using Java </p>
  
  <pre><code>insert into customer_order (idCustomer_Order,Customer_id,Total_Amount,Payment,Order_date,Order_month,Order_year,Delivery_date,Delivery_month,Delivery_year,product_id,OrderDate)value(3,1,122,'payed',3,2,4,2,3,4,4,curdate())
  </code></pre>
  
  <p>i tried this but  time is 00:00:00
  3   1   122 payed   3   2   4   2   3   4   4   2017-12-28 00:00:00</p>