You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@shardingsphere.apache.org by GitBox <gi...@apache.org> on 2020/12/14 08:28:41 UTC

[GitHub] [shardingsphere] alonglee-cyber opened a new issue #8611: ForceExecuteTemplate will hide the exception message when transaction rollback

alonglee-cyber opened a new issue #8611:
URL: https://github.com/apache/shardingsphere/issues/8611


   ## Bug Report
   
   **For English only**, other languages will not accept.
   
   Before report a bug, make sure you have:
   
   - Searched open and closed [GitHub issues](https://github.com/apache/shardingsphere/issues).
   - Read documentation: [ShardingSphere Doc](https://shardingsphere.apache.org/document/current/en/overview).
   
   Please pay attention on issues you submitted, because we maybe need more details. 
   If no response anymore and we cannot reproduce it on current information, we will **close it**.
   
   Please answer these questions before submitting your issue. Thanks!
   
   ### Which version of ShardingSphere did you use?
   4.1.4
   ### Which project did you use? ShardingSphere-JDBC or ShardingSphere-Proxy?
   ShardingSphere-JDBC
   ### Expected behavior
   show me the original exception msg;
   ### Actual behavior
   only show logs in console:
   ...
   Cause by: java.sql.SQLException: null
       at org.apache.shardingsphere.shardingjdbc.jdbc.adapter.executor.ForceExecuteTemplate.throwSQLExceptionIfNecessary
       .....
   ![8C0A07C2-D627-4cdf-8311-9C71486F8AE1](https://user-images.githubusercontent.com/12329776/102057481-f120ba80-3e28-11eb-95db-ed756864ff55.png)
   
   ### Reason analyze (If you can)
   maybe because of these codes
   ![code](https://user-images.githubusercontent.com/12329776/102057595-1a414b00-3e29-11eb-8cc2-fd34b4f3b6fe.png)
   
   ### Steps to reproduce the behavior, such as: SQL to execute, sharding rule configuration, when exception occur etc.
   using spring-boot 2.2.10.RELEASE with sharding-jdbc-spring-boot-starter 4.1.1 
   
   
   ### Example codes for reproduce this issue (such as a github link).
   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [shardingsphere] alonglee-cyber commented on issue #8611: ForceExecuteTemplate will hide the exception message when transaction rollback

Posted by GitBox <gi...@apache.org>.
alonglee-cyber commented on issue #8611:
URL: https://github.com/apache/shardingsphere/issues/8611#issuecomment-751200987


   sorry 
   version is 4.1.1


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [shardingsphere] menghaoranss commented on issue #8611: ForceExecuteTemplate will hide the exception message when transaction rollback

Posted by GitBox <gi...@apache.org>.
menghaoranss commented on issue #8611:
URL: https://github.com/apache/shardingsphere/issues/8611#issuecomment-745736251


   Thereā€˜s no 4.1.4 version for shardingsphere, please modify your description first.
   
   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [shardingsphere] terrymanu closed issue #8611: ForceExecuteTemplate will hide the exception message when transaction rollback

Posted by GitBox <gi...@apache.org>.
terrymanu closed issue #8611:
URL: https://github.com/apache/shardingsphere/issues/8611


   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [shardingsphere] terrymanu commented on issue #8611: ForceExecuteTemplate will hide the exception message when transaction rollback

Posted by GitBox <gi...@apache.org>.
terrymanu commented on issue #8611:
URL: https://github.com/apache/shardingsphere/issues/8611#issuecomment-749898908


   Closed because of no response


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org