SimpleDateFormat sdf = new SimpleDateFormat(\"yyyyMMddHHmm\"); java.util.Date parsedDate = sdf.parse(\"201212130900\"); java.sql.Timestamp timestamp = new java.sql.Times
I have solved the above problem.
I converted the date to "yyyyMMdd" format and converted the time in "HHmm" format, storing them as 2 different strings.