首页 > 数据库技术 > 详细

mybatis返回boolean值时数据库返回null

时间:2018-11-30 19:49:06      阅读:434      评论:0      收藏:0      [点我收藏+]

Servlet.service() for servlet [springDispatcherServlet] in context with path [/ms] threw exception [Request processing failed; nested exception is org.apache.ibatis.binding.BindingException: Mapper method ‘com.ms.dao.AdminDao.checkLoginAdminInfo attempted to return null from a method with a primitive return type (boolean).] with root cause
org.apache.ibatis.binding.BindingException: Mapper method ‘com.ms.dao.AdminDao.checkLoginAdminInfo attempted to return null from a method with a primitive return type (boolean).

 

 

参考:

https://blog.csdn.net/lw1242189467/article/details/80812881

 

https://blog.csdn.net/hbxtw/article/details/10133229

mybatis返回boolean值时数据库返回null

原文:https://www.cnblogs.com/moonsoft/p/10045820.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!