SSH 简单后端交互遇到的问题

get()传入的值必须是主键的类型,不然会报错:Provided id of the wrong type for class xdemo.entity.Student. Expected: class java.lang.Integer, got java.lang.String;
解决方法:get()传入的值是主键的类型

get()传入的值必须是主键的类型,不然会报错:Provided id of the wrong type for class xdemo.entity.Student. Expected: class java.lang.Integer, got java.lang.String;
解决方法:get()传入的值是主键的类型