摘要:
1.日期:@Temporal(TemporalType.DATE)@Column(name = "applyDate", nullable = false, length = 10)public Date getApplyDate() {return applyDate;}在页面端取值:2011-04-122.时间:@Temporal(TemporalType.TIME)在页面端取值:22:50:303.日期和时间(默认):@Temporal(TemporalType.TIMESTAMP)在页面端取值:2011-04-12 22:51:34.0 阅读全文