title: Converting string to date and storing it in mysql
body: <p>I have a String stating the date as "2012-12-31" how can I convert it into date format using java and store it MySQL database where the type in MySQL is of date type.</p>