
mybatis
beesman
这个作者很懒,什么都没留下…
展开
-
缓存的CachePut 冲突 Cacheable
CachePut 跟 Cacheable放在一起, Cacheable的效果就跟 CachePut 一样的,每次都会去查数据库,虽然有缓存。/** * * @param id * @return */@Caching( put = { @CachePut(key = "T(cn.a.b.constant.RedisKey).OPEN_MEDIUM_INFO +...原创 2020-04-28 12:48:05 · 616 阅读 · 0 评论 -
在使用 Spring Boot 和 MyBatis 动态切换数据源时遇到的问题以及解决方法
相关项目地址:https://github.com/helloworlde/SpringBoot-DynamicDataSource1. org.apache.ibatis.binding.BindingException: Invalid bound statement (not found)在使用了动态数据源后遇到了该问题,从错误信息来看是因为没有找到*.xml文件而导致的,...转载 2020-03-26 08:08:53 · 747 阅读 · 1 评论