Use the columnDefinition attribute of the @Column annotation:
@Column(name = "startTime", columnDefinition="DATETIME")
@Temporal(TemporalType.TIMESTAMP)
private Date startTime;
And please, make your attributes private.
Use the columnDefinition attribute of the @Column annotation:
@Column(name = "startTime", columnDefinition="DATETIME")
@Temporal(TemporalType.TIMESTAMP)
private Date startTime;
And please, make your attributes private.