243 Star 2.7K Fork 562

MyBatis-Flex/MyBatis-Flex

Mybatis-Flex Springboot 多数据源不能切换

已完成
创建于  
2023-05-06 11:17

问题描述

使用Mybatis-flex的多数据源配置,在springboot下不能正确切换数据源
ds1=pg ,ds2=mysql
insert时生成的sql语句是mysql的,执行插入时到了ds1 的pg库

我当前使用 Mybatis-Flex 版本是?

1.2.0

错误信息是?(截图或日志)

entity1
entity2
数据源配置
执行的sql语句
sql报错

评论 (3)

陈国正 创建了任务 2年前

能否联系远程看下?

联系我 QQ 1506615067

Michael Yang 通过 mybatis-flex/mybatis-flex Commit a32e04c任务状态待办的 修改为已完成 2年前

登录 后才可以发表评论

状态
负责人
里程碑
Pull Requests
关联的 Pull Requests 被合并后可能会关闭此 issue
分支
开始日期   -   截止日期
-
置顶选项
优先级
参与者(2)
61279 fuhai 1716893681 2132 hopper 1578914095
1
https://gitee.com/mybatis-flex/mybatis-flex.git
git@gitee.com:mybatis-flex/mybatis-flex.git
mybatis-flex
mybatis-flex
MyBatis-Flex

搜索帮助