I have a class that has a date field representing a \"valid from\" date for a piece of data. It is defined like this:
@Temporal( TemporalType.DATE ) private
I had the same problem. Don't know the reason but my workaround was the following:
In the database I changed the column type from DATE to DATETIME.
DATE
DATETIME
In the entity class I changed the @Temporal annotation but kept the datatype Date:
@Temporal
Date
@Temporal(TemporalType.TIMESTAMP) private Date myDate;