Mybatis
小小学徒ByronZf
路漫漫其修远兮,吾将上下而求索。
展开
-
[mybatis]............attempted to return null from a method with a primitive return type (int).
org.apache.ibatis.binding.BindingException: Mapper method 'com.insight.hr.Call.mapper.CallMapper.SelectCallNum attempted to return null from a method with a primitive return type (int). sql: <...原创 2019-04-01 17:41:27 · 1498 阅读 · 0 评论 -
实体类映射,SQl返回的数据为null
错误原因: 纠错: sql中带‘ _ ’的字段 在 实体类中变量名命名规则为将 ‘ _ ’后的字符串首字母大写(java驼峰规则)原创 2019-02-26 14:46:12 · 1388 阅读 · 0 评论