Jenyow opened a new issue #11728:
URL: https://github.com/apache/shardingsphere/issues/11728


   ### Which version of ShardingSphere did you use?
   * shardingsphere-jdbc-core-spring-boot-starter:5.0.0-beta
   * mybatis-plus-boot-starter:3.4.3.1
   
   ### Which project did you use? ShardingSphere-JDBC or ShardingSphere-Proxy?
   仅用了 ShardingSphere-JDBC
   
   ### Expected behavior
   能正常获取到sql异常信息
   
   ### Actual behavior
   无法获取到sql异常信息
   
   ### Steps to reproduce the behavior, such as: SQL to execute, sharding rule 
configuration, when exception occur etc.
   1. 数据库字段 status 设置为必填
   2. 代码中实体不传 status 字段的值
   3. 用 mybatis-plus 提供的 save 方法保存实体
   4. 能正常打印 insert 语句的日志,但是数据无法插入的数据库中,并且没有打印错误的日志
   


-- 
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.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to