多数据源
panClimberLuo
这个作者很懒,什么都没留下…
展开
-
mybatis-plus多数据源中使用enum枚举类型
记一次我的bug在设计数据库时添加了一个枚举反应数据的状态,但是使用的时候出了点问题,没法映射数据库的enum(枚举)字段。感觉是配置多数据源的时候出了问题,但开始时一直没去设置,导致一直报错出了问题。先贴上我错误的多数据源配置吧! local: jdbc-url: jdbc:mysql://192.168.2.103:3306/mp_student?useUnicode=true&characterEncoding=utf-8&useSSL=false&al原创 2020-08-05 15:17:48 · 2179 阅读 · 0 评论 -
记录一次Invalid bound statement (not found)的错误
记录一次org.apache.ibatis.binding.BindingException: Invalid bound statement (not found)的报错,报错信息如下:org.apache.ibatis.binding.BindingException: Invalid bound statement (not found): myjta.apple.student.dao.UserInfoDao.selectList at org.apache.ibatis.binding.Ma原创 2020-07-16 10:09:00 · 359 阅读 · 0 评论