The Hibernate Documentation has the information below for the @Temporal annotation:
@Temporal
In plain Java APIs, the temporal precision of time is
use this
@Temporal(TemporalType.TIMESTAMP) @Column(name="create_date") private Calendar createDate; public Calendar getCreateDate() { return createDate; } public void setCreateDate(Calendar createDate) { this.createDate = createDate; }