MySQLDateType is mapping data of type DateTime into a java.sql.Date class. This class clears the time portion of the data so it is always '00:00:00'. Change to java.sql.Timestamp which also extends java.util.Date but is mean to maintain the time and date information properly.
MySQLDateType is mapping data of type DateTime into a java.sql.Date class. This class clears the time portion of the data so it is always '00:00:00'. Change to java.sql.Timestamp which also extends java.util.Date but is mean to maintain the time and date information properly.