jpa返回值映射_JPA各种类型映射处理
1.日期格式类型字段的映射,利用@Temporal(TemporalType.Date)进行注解;例如:private Date birthday;@Temporal(TemporalType.DATE)public Date getBirthday() {return birthday;}public void setBirthday(Date birthday) {this.birthday ...