<h3 dir="auto">Which version of ShardingSphere did you use? shardingsphere-proxy 4.1.1,it also happens at  5.0.0-alpha   version.</h3>
<p dir="auto">myApp(jdbc) --&gt;  shardingsphere-proxy   --&gt;  PostgreSQL 12.5, compiled by Visual C++ build 1914, 64-bit</p>
<p dir="auto"><code class="notranslate">&lt;dependency&gt;</code><br>
<code class="notranslate">           &lt;groupId&gt;org.postgresql&lt;/groupId&gt;</code><br>
<code class="notranslate">          &lt;artifactId&gt;postgresql&lt;/artifactId&gt;</code><br>
<code class="notranslate">         &lt;version&gt;42.2.18&lt;/version&gt;</code><br>
<code class="notranslate"> &lt;/dependency&gt;</code></p>
<p dir="auto">java code</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="1. Connection connection=getConn();
2. Statement stmt=null;
3. connection.setAutoCommit(false);
4. stmt=connection.createStatement();
5. stmt.execute(&quot;update adm_tenant set law_name='xxxx' where tenant_code='XX'&quot;);
6. connection.commit();"><pre class="notranslate"><code class="notranslate">1. Connection connection=getConn();
2. Statement stmt=null;
3. connection.setAutoCommit(false);
4. stmt=connection.createStatement();
5. stmt.execute("update adm_tenant set law_name='xxxx' where tenant_code='XX'");
6. connection.commit();
</code></pre></div>
<p dir="auto">shardingsphere-proxy<br>
server.yaml</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="props:
  max.connections.size.per.query: 1
  acceptor.size: 16  # The default value is available processors count * 2.
  executor.size: 16  # Infinite by default.
  proxy.frontend.flush.threshold: 128  # The default value is 128.
  proxy.transaction.type: LOCAL
  proxy.hint.enabled: true
  sql.show: true"><pre class="notranslate"><code class="notranslate">props:
  max.connections.size.per.query: 1
  acceptor.size: 16  # The default value is available processors count * 2.
  executor.size: 16  # Infinite by default.
  proxy.frontend.flush.threshold: 128  # The default value is 128.
  proxy.transaction.type: LOCAL
  proxy.hint.enabled: true
  sql.show: true
</code></pre></div>
<p dir="auto">config-sharding.yaml</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="dataSources:
  ds_0:
    url: jdbc:postgresql://127.0.0.1:5432/postgres?serverTimezone=UTC&amp;useSSL=false
    username: xxx
    password: xxx
    connectionTimeoutMilliseconds: 30000
    idleTimeoutMilliseconds: 60000
    maxLifetimeMilliseconds: 1800000
    maxPoolSize: 50
shardingRule:
  tables:
    t_order:
      actualDataNodes: ds_0.XXX_${2016..2100}
      tableStrategy:
        standard:
          shardingColumn: d_date
          preciseAlgorithmClassName: xxx
          rangeAlgorithmClassName: xxx
  bindingTables:
    - XXX
  defaultDatabaseStrategy:
    none:
  defaultTableStrategy:
    none:
"><pre class="notranslate"><code class="notranslate">dataSources:
  ds_0:
    url: jdbc:postgresql://127.0.0.1:5432/postgres?serverTimezone=UTC&amp;useSSL=false
    username: xxx
    password: xxx
    connectionTimeoutMilliseconds: 30000
    idleTimeoutMilliseconds: 60000
    maxLifetimeMilliseconds: 1800000
    maxPoolSize: 50
shardingRule:
  tables:
    t_order:
      actualDataNodes: ds_0.XXX_${2016..2100}
      tableStrategy:
        standard:
          shardingColumn: d_date
          preciseAlgorithmClassName: xxx
          rangeAlgorithmClassName: xxx
  bindingTables:
    - XXX
  defaultDatabaseStrategy:
    none:
  defaultTableStrategy:
    none:

</code></pre></div>
<h3 dir="auto">Expected behavior</h3>
<p dir="auto">update success!</p>
<h3 dir="auto">Actual behavior</h3>
<p dir="auto">myApp throw the PSQLException at  No5 ： stmt.execute("update adm_tenant set law_name='xxxx' where tenant_code='XX'");</p>
<p dir="auto"><code class="notranslate">org.postgresql.util.PSQLException: Expected command status BEGIN, got null 0. at org.postgresql.core.v3.QueryExecutorImpl$1.handleCommandStatus(QueryExecutorImpl.java:582) at org.postgresql.core.v3.QueryExecutorImpl.interpretCommandStatus(QueryExecutorImpl.java:2598) at org.postgresql.core.v3.QueryExecutorImpl.processResults(QueryExecutorImpl.java:2233) at org.postgresql.core.v3.QueryExecutorImpl.execute(QueryExecutorImpl.java:323) at org.postgresql.jdbc.PgStatement.executeInternal(PgStatement.java:473) at org.postgresql.jdbc.PgStatement.execute(PgStatement.java:393) at org.postgresql.jdbc.PgStatement.executeWithFlags(PgStatement.java:322) at org.postgresql.jdbc.PgStatement.executeCachedSql(PgStatement.java:308) at org.postgresql.jdbc.PgStatement.executeWithFlags(PgStatement.java:284) at org.postgresql.jdbc.PgStatement.execute(PgStatement.java:279)</code><br>
<strong>at TestClass.main(TestClass.java:5)</strong></p>
<p dir="auto">Shardingsphere-proxy don't  print any expcetion log</p>
<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>
<p dir="auto">Before submit a new issue, please check existed issue first, to make sure your issue is not a duplicated one.</p>
<h3 dir="auto">Which version of Sharding-Sphere do you using?</h3>
<h3 dir="auto">Which project do you using? Sharding-JDBC or Sharding-Proxy?</h3>
<h3 dir="auto">Expected behavior</h3>
<h3 dir="auto">Actual behavior</h3>
<h3 dir="auto">Reason analyze</h3>
<h3 dir="auto">Steps to reproduce the behavior, such as: SQL to execute, sharding rule configuration, when exception occur etc</h3>
<h3 dir="auto">For bug report, please <em>MUST</em> provide the reproduce example codes (such as a github link).</h3>