What if we use
@Column(name=\"birth_date\", nullable=false, length=19)
public Date getBirthDate() {
return this.birthDate;
}
instead of
Only piece of documentation I managed to find:
In plain Java APIs, the temporal precision of time is not defined. When dealing with temporal data you might want to describe the expected precision in database. Temporal data can have DATE, TIME, or TIMESTAMP precision (ie the actual date, only the time, or both). Use the @Temporal annotation to fine tune that.
From 2.2.2.1. Declaring basic property mappings.
This might indicate that the actual date representation in the database is not defined and to be sure it is better to specify it directly.