<p dir="auto"></p><div class="Box Box--condensed my-2">
  <div class="Box-header f6">
    <p class="mb-0 text-bold">
      <a href="https://github.com/apache/shardingsphere/blob/ee0fadea52ae2f5c983e9eafe96ee7fb84b4426e/pom.xml#L108">shardingsphere/pom.xml</a>
    </p>
    <p class="mb-0 color-fg-muted">
         Line 108
      in
      <a data-pjax="true" class="commit-tease-sha" href="/apache/shardingsphere/commit/ee0fadea52ae2f5c983e9eafe96ee7fb84b4426e">ee0fade</a>
    </p>
  </div>
  <div itemprop="text" class="Box-body p-0 blob-wrapper blob-wrapper-embedded data">
    <table class="highlight tab-size mb-0 js-file-line-container" data-tab-size="8" data-paste-markdown-skip="">

        <tbody><tr class="border-0">
          <td id="L108" class="blob-num border-0 px-3 py-0 color-bg-default" data-line-number="108"></td>
          <td id="LC108" class="blob-code border-0 px-3 py-0 color-bg-default blob-code-inner js-file-line"> &lt;<span class="pl-ent">mysql-connector-java</span>.version&gt;5.1.47&lt;/<span class="pl-ent">mysql-connector-java</span>.version&gt; </td>
        </tr>
    </tbody></table>
  </div>
</div>
<p></p>
<p dir="auto"><a title="CVE-2021-3711" data-hovercard-type="advisory" data-hovercard-url="/advisories/GHSA-5ww6-px42-wc85/hovercard" href="https://github.com/advisories/GHSA-5ww6-px42-wc85">CVE-2021-3711</a> <a title="CVE-2020-1967" data-hovercard-type="advisory" data-hovercard-url="/advisories/GHSA-jq65-29v4-4x35/hovercard" href="https://github.com/advisories/GHSA-jq65-29v4-4x35">CVE-2020-1967</a> <a title="CVE-2021-3712" data-hovercard-type="advisory" data-hovercard-url="/advisories/GHSA-q9wj-f4qw-6vfj/hovercard" href="https://github.com/advisories/GHSA-q9wj-f4qw-6vfj">CVE-2021-3712</a> <a title="CVE-2021-3450" data-hovercard-type="advisory" data-hovercard-url="/advisories/GHSA-8hfj-xrj2-pm22/hovercard" href="https://github.com/advisories/GHSA-8hfj-xrj2-pm22">CVE-2021-3450</a> VE-2018-3258</p>
<p dir="auto">Recommended upgrade version：8.0.29</p>
<h2 dir="auto">Bug Report</h2>
<h3 dir="auto">Which version of ShardingSphere did you use?</h3>
<p dir="auto">5.0-Beta</p>
<h3 dir="auto">Which project did you use? ShardingSphere-JDBC or ShardingSphere-Proxy?</h3>
<p dir="auto">ShardingSphere-JDBC</p>
<h3 dir="auto">Expected behavior</h3>
<p dir="auto">The database field length is only 50, however when inserting test data , the length of data is more than 50. It should have thrown<br>
an exception. There should be  exception and rollback.</p>
<h3 dir="auto">Actual behavior</h3>
<p dir="auto">No exception ,the log runs well without err log and the program continue to run and no rollback happen. There should throw an exception</p>
<h3 dir="auto">Reason analyze (If you can)</h3>
<p dir="auto">I assume in the ShardingSphere-JDBC source code, there may try catch the sql exception ,so we can't rollback.</p>
<h3 dir="auto">Steps to reproduce the behavior, such as: SQL to execute, sharding rule configuration, when exception occur etc.</h3>
<p dir="auto">code:<br>
<a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/16503640/129301894-6db29add-76bc-4813-b8b3-ec1ef6a4608b.png"><img src="https://user-images.githubusercontent.com/16503640/129301894-6db29add-76bc-4813-b8b3-ec1ef6a4608b.png" alt="image" style="max-width: 100%;"></a></p>
<p dir="auto">log:<br>
<a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/16503640/129302556-74208340-27e6-4e49-8d5b-728567bc95ec.png"><img src="https://user-images.githubusercontent.com/16503640/129302556-74208340-27e6-4e49-8d5b-728567bc95ec.png" alt="log" style="max-width: 100%;"></a></p>
<h3 dir="auto">Example codes for reproduce this issue (such as a github link).</h3>
<p dir="auto">only the sharding-jdbc-tables example, and in java code , insert the status field more than 50 charcaters.</p>