<p dir="auto">For English only, other languages we will close it directly.</p>
<p dir="auto">Please answer these questions before submitting your issue. Thanks!</p>
<h3 dir="auto">Which version of Sharding-Sphere do you using?</h3>
<p dir="auto">docker image shardingsphere/sharding-proxy:latest</p>
<h3 dir="auto">Expected behavior</h3>
<p dir="auto">at org.yaml.snakeyaml.constructor.Constructor$ConstructMapping.construct(Constructor.java:170)<br>
at org.yaml.snakeyaml.constructor.BaseConstructor.constructObject(BaseConstructor.java:182)<br>
at org.yaml.snakeyaml.constructor.Constructor$ConstructMapping.constructJavaBean2ndStep(Constructor.java:297)<br>
... 12 more<br>
Caused by: org.yaml.snakeyaml.error.YAMLException: Unable to find property 'autoCommit' on class: io.shardingsphere.core.yaml.sharding.DataSourceParameter<br>
at org.yaml.snakeyaml.introspector.PropertyUtils.getProperty(PropertyUtils.java:132)<br>
at org.yaml.snakeyaml.introspector.PropertyUtils.getProperty(PropertyUtils.java:121)<br>
at org.yaml.snakeyaml.constructor.Constructor$ConstructMapping.getProperty(Constructor.java:322)<br>
at org.yaml.snakeyaml.constructor.Constructor$ConstructMapping.constructJavaBean2ndStep(Constructor.java:240)</p>
<h3 dir="auto">Steps to reproduce the behavior</h3>
<p dir="auto">dataSources:<br>
ds_master:<br>
url: jdbc:mysql://localhost:3306/ds_master<br>
username: root<br>
password:<br>
autoCommit: true<br>
connectionTimeout: 30000<br>
idleTimeout: 60000<br>
maxLifetime: 1800000<br>
maximumPoolSize: 65</p>
<p dir="auto">ds_slave0:<br>
url: jdbc:mysql://localhost:3306/ds_slave0<br>
username: root<br>
password:<br>
autoCommit: true<br>
connectionTimeout: 30000<br>
idleTimeout: 60000<br>
maxLifetime: 1800000<br>
maximumPoolSize: 65</p>
<p dir="auto">ds_slave1: !!org.apache.commons.dbcp.BasicDataSource<br>
driverClassName: com.mysql.jdbc.Driver<br>
url: jdbc:mysql://localhost:3306/ds_slave1<br>
username: root<br>
password:<br>
autoCommit: true<br>
connectionTimeout: 30000<br>
idleTimeout: 60000<br>
maxLifetime: 1800000<br>
maximumPoolSize: 65</p>
<p dir="auto">masterSlaveRule:<br>
name: ds_ms<br>
masterDataSourceName: ds_master<br>
slaveDataSourceNames:<br>
- ds_slave0<br>
- ds_slave1</p>
<p dir="auto">props:<br>
proxy.mode: MEMORY_STRICTLY<br>
proxy.transaction.mode: NONE<br>
proxy.max.working.threads: 16<br>
sql.show: false</p>
<p dir="auto">proxyAuthority:<br>
username: root<br>
password:</p>
<p dir="auto">docker run -d --name sharding-proxy -v /root/sharding-proxy:/opt/sharding-proxy/conf --env JVM_OPTS="-Djava.awt.headless=true" --env PORT=3308 -p 3308:3308 shardingsphere/sharding-proxy:latest</p>
<h3 dir="auto">For bug report, please <em>MUST</em> provide the reproduce example codes (such as a github link).</h3>
<p dir="auto">Use a string sharding column ,  suppose the sharding column value is "abcd";<br>
When use sharding-jdbc 3.1.0 , found sharding value pass to ShardingStrategy.doSharding() was a integer value : -1 .<br>
But use version 2.0.3 , the sharding value is original value ： "abcd"。</p>