<h2 dir="auto">Question</h2>
<h3 dir="auto">Which version of Sharding-Jdbc do you using?（您使用的Sharding-Jdbc版本为？）</h3>
<p dir="auto">sharding-jdbc-spring-boot-starter:3.1.0<br>
springboot: 2.1.1.release<br>
druid-spring-boot-starter:1.1.10<br>
mybatis-spring-boot-starter:1.3.2</p>
<h3 dir="auto">Expected behavior （您预期的结果是）</h3>
<p dir="auto">正常运行</p>
<h3 dir="auto">Actual behavior （实际运行的结果是）</h3>
<p dir="auto">The bean 'dataSource', defined duplicate.</p>
<h3 dir="auto">Steps to reproduce the behavior （可重现问题的操作步骤）</h3>
<hr>
<p dir="auto">APPLICATION FAILED TO START</p>
<hr>
<p dir="auto">Description:</p>
<p dir="auto">The bean 'dataSource', defined in class path resource [io/shardingsphere/shardingjdbc/spring/boot/SpringBootConfiguration.class], could not be registered. A bean with that name has already been defined in class path resource [com/alibaba/druid/spring/boot/autoconfigure/DruidDataSourceAutoConfigure.class] and overriding is disabled.</p>
<p dir="auto">使用<strong>python sqlalchemy</strong> ，在创建连接中，必须添加<strong>autocommit</strong>参数，否则在进行连接中便会报错：<br>
<a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/30698152/134836519-5bbb437f-b721-40c0-a707-6e86ccdcf46c.png"><img src="https://user-images.githubusercontent.com/30698152/134836519-5bbb437f-b721-40c0-a707-6e86ccdcf46c.png" alt="image" style="max-width: 100%;"></a></p>
<p dir="auto"><strong>报错提示（4.1.0）：</strong><br>
<a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/30698152/134836608-37578dd4-86f0-4266-96e9-dc57043efe25.png"><img src="https://user-images.githubusercontent.com/30698152/134836608-37578dd4-86f0-4266-96e9-dc57043efe25.png" alt="image" style="max-width: 100%;"></a></p>
<p dir="auto">这个问题在 <strong>sharding-porxy 4.1.1</strong>  or   <strong>sharding-porxy 5.0.0</strong> 版本都会出现</p>
<p dir="auto">另外，即使添加了这个参数，不用报错了，但是在 commit 之前使用 <strong>session.flush()</strong> 预提交数据时，便已经提交数据保存了，之后不管是 rollback还是 commit都无效：<br>
<a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/30698152/134837235-8cc0866f-5e41-4ac3-ad77-f4ff5ab3c767.png"><img src="https://user-images.githubusercontent.com/30698152/134837235-8cc0866f-5e41-4ac3-ad77-f4ff5ab3c767.png" alt="lALPDhJzxskh6h7M4c0Buw_443_225" style="max-width: 100%;"></a></p>
<p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/30698152/134837251-24f5f9a6-d416-4aa6-8290-ef706dc6132a.png"><img src="https://user-images.githubusercontent.com/30698152/134837251-24f5f9a6-d416-4aa6-8290-ef706dc6132a.png" alt="lALPDgfLStrnkqfNAVbNBQ4_1294_342" style="max-width: 100%;"></a></p>
<p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/30698152/134837265-0db98357-0575-4718-a760-8e8e7b744dd6.png"><img src="https://user-images.githubusercontent.com/30698152/134837265-0db98357-0575-4718-a760-8e8e7b744dd6.png" alt="lALPDgQ9zDYOOIZszQFe_350_108" style="max-width: 100%;"></a></p>