TKMabatis坑

当Pojo类作为TKMybatis的基准对象时,Pojo类中的所有实体域必须是对象,例如int必须换成Integer

否则就会出错:tk.mybatis.mapper.MapperException: java.lang.StringIndexOutOfBoundsException: String index out of ra

原文地址:https://www.cnblogs.com/doubest/p/12917801.html