异常:org.hibernate.AnnotationException: @Temporal should only be set on a java.util.Date or java.util.Calendar property
异常出现的原因是Date的类型:
private Date createTimea;
Date为java.util.Date而不用java.sql.Date;
异常:org.hibernate.AnnotationException: @Temporal should only be set on a java.util.Date or java.util.Calendar property
异常出现的原因是Date的类型:
private Date createTimea;
Date为java.util.Date而不用java.sql.Date;