Inserting Timestamp into MySQL from Java application – Phpmyadmin
I am creating a Java application that communicates with MySQL database. Using XAMPP 5.6.33-0 and phpMyAdmin. I have the following method that, among other values, inserts a Timestamp into the table RATING: PreparedStatement pst = myConn.prepareStatement("INSERT INTO RATING (ratingDate) VALUES(?)");…