I am converting the racestarttime and raceendtime which are epoch time to date as follows.
Date startDateTime = new Date(raceStartTime.toLong())
Date endDateTime = new Date(raceEndTime.toLong())
The first two columns are start and end date time and the last two columns are epoch millisecond start and end time. The date columns in mysql are of type datetime(6).Why is the fractional part not saved in database? I appreciate any insights. I am using grails 2.2 and mysql 5.7.