Chris2018998 / beecp-starter

beecp starter on springboot
Apache License 2.0
35 stars 12 forks source link

能提供下 myibatisplus得 数据源demo嘛 怎么切换多数据源 #9

Open asevfish opened 3 years ago

asevfish commented 3 years ago

希望提供下 myibatisplus 多数据源 怎么 改对应得配置 换成beecp得参数呢 能否提供一个demo呢

liangbaika commented 3 years ago

其实这个不难的 我更想知道的是 多数据源的时候的事务问题 比如 事务切换能否生效 事务嵌套(应该会报错)

asevfish commented 3 years ago

其实这个不难的 我更想知道的是 多数据源的时候的事务问题 比如 事务切换能否生效 事务嵌套(应该会报错)

嗯 有demo嘛 这个事务得问题 得问下 大大了

Chris2018998 commented 3 years ago

好的,我找机会做个mybatis的demo看看

asevfish commented 3 years ago

好的,我找机会做个mybatis的demo看看

谢谢大大 辛苦了 等你

Chris2018998 commented 3 years ago

动态数据源切换的方式已经加入, 预计节前发个版本

数据源的事物性问题,后面再考虑

asevfish commented 3 years ago

动态数据源切换的方式已经加入, 预计节前发个版本

数据源的事物性问题,后面再考虑

好得 辛苦 谢谢 期待

Chris2018998 commented 3 years ago

做了一个mybatis的例子,里面有个Readme.txt文件

https://github.com/Chris2018998/BeeCP-Starter/blob/master/doc/example/BeeCP-Starter-Mutil-Mybatis.rar

对不起,前段时间有点忙。

asevfish commented 3 years ago

谢谢 我先试试

------------------ 原始邮件 ------------------ 发件人: "欧德"<notifications@github.com>; 发送时间: 2021年2月10日(星期三) 晚上8:34 收件人: "Chris2018998/BeeCP-Starter"<BeeCP-Starter@noreply.github.com>; 抄送: "沉ふ淀"<2628899033@qq.com>; "Author"<author@noreply.github.com>; 主题: Re: [Chris2018998/BeeCP-Starter] 能提供下 myibatisplus得 数据源demo嘛 怎么切换多数据源 (#9)

做了一个mybatis的例子,里面有个Readme.txt文件

https://github.com/Chris2018998/BeeCP-Starter/blob/master/doc/example/BeeCP-Starter-Mutil-Mybatis.rar

对不起,前段时间有点忙。

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or unsubscribe.