org.hibernate.tool.schema.spi.SchemaManagementException: Schema-validation: wrong column type encountered in column [sex] in table [imooc.student]; found [char (Types#CHAR)], but expecting [varchar(255) (Types#VARCHAR)]
数据类型不对?
private String sname;
private String sex;
不是对应的是String么
数据库中是char(2)