在我的电脑上load()并不会抛出异常,反而因为get()返回的是null,在后面s.getClass()相当于null.getClass报错了。······版本问题吗?
2016-09-28
存了照片之后不建议作死用命令行
select * from students;
———————————————————————
select * from students;
———————————————————————
2016-09-28
找不到映射Students类
配置文档有加 <mapping resource = "Students.hbm.xml"/>
也有Students.hbm.xml这个文件
配置文档有加 <mapping resource = "Students.hbm.xml"/>
也有Students.hbm.xml这个文件
2016-09-27