Annotation|错误记录:将varchar 值转换为 JDBC 数据类型 DATE 时发生错误

String hql = "select classId as classId, className as className, studentNum as studentNum, teacherName as teacherName, createTime as createTime from ClassInfoView where teacherId = ? and organizationId = ?";
		

将classInfoView类中的createTime类型改为String

@Column(name = "CREATE_TIME")
private String createTime;

 

你可能感兴趣的:(Annotation项目)