摘要: 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 阅读全文
posted @ 2014-02-28 21:24 成风魄郎 阅读(2393) 评论(0) 推荐(0) 编辑