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 2021/08/09 10:58:47 UTC

[GitHub] [shardingsphere] Jenyow opened a new issue #11728: 与mybatis-plus整合无法获取sql异常信息

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: notifications-unsubscribe@shardingsphere.apache.org

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



[GitHub] [shardingsphere] RaigorJiang commented on issue #11728: 与mybatis-plus整合无法获取sql异常信息

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


   Hello, for English only, please translate the issue, thank you.


-- 
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: notifications-unsubscribe@shardingsphere.apache.org

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



[GitHub] [shardingsphere] RaigorJiang commented on issue #11728: Integrate with mybatis-plus failed to obtain the SQL exception information.

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


   Hi @Jenyow 
   Thanks for you report,  but you did not provide an exception log, so we cannot determine the cause of the error. Maybe similar to #10138,  you can try the master branch to check it.


-- 
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: notifications-unsubscribe@shardingsphere.apache.org

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



[GitHub] [shardingsphere] Jenyow commented on issue #11728: Integrate with mybatis-plus failed to obtain the SQL exception information.

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


   > > Hi @Jenyow
   > > Thanks for you report, but you did not provide an exception log, so we cannot determine the cause of the error. Maybe similar to #10138, you can try the master branch to check it.
   > 
   > Hi @Jenyow
   > I have checked your demo project, the problem is duplicate with issue 10138.
   > Now it was fixed by #10845, You can build from master branch and try again.
   
   @RaigorJiang OK, thanks.


-- 
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: notifications-unsubscribe@shardingsphere.apache.org

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



[GitHub] [shardingsphere] cocodroid edited a comment on issue #11728: Integrate with mybatis-plus failed to obtain the SQL exception information.

Posted by GitBox <gi...@apache.org>.
cocodroid edited a comment on issue #11728:
URL: https://github.com/apache/shardingsphere/issues/11728#issuecomment-913193380


   My god.why don't you provide a exception log in your demo...


-- 
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: notifications-unsubscribe@shardingsphere.apache.org

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



[GitHub] [shardingsphere] Jenyow closed issue #11728: Integrate with mybatis-plus failed to obtain the SQL exception information.

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


   


-- 
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: notifications-unsubscribe@shardingsphere.apache.org

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



[GitHub] [shardingsphere] Jenyow commented on issue #11728: Integrate with mybatis-plus failed to obtain the SQL exception information.

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


   > > Hi @Jenyow
   > > Thanks for you report, but you did not provide an exception log, so we cannot determine the cause of the error. Maybe similar to #10138, you can try the master branch to check it.
   > 
   > Hi @Jenyow
   > I have checked your demo project, the problem is duplicate with issue 10138.
   > Now it was fixed by #10845, You can build from master branch and try again.
   
   @RaigorJiang OK, thanks.


-- 
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: notifications-unsubscribe@shardingsphere.apache.org

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



[GitHub] [shardingsphere] Jenyow removed a comment on issue #11728: Integrate with mybatis-plus failed to obtain the SQL exception information.

Posted by GitBox <gi...@apache.org>.
Jenyow removed a comment on issue #11728:
URL: https://github.com/apache/shardingsphere/issues/11728#issuecomment-895175994


   > Hello, for English only, please translate the issue, thank you.
   
   


-- 
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: notifications-unsubscribe@shardingsphere.apache.org

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



[GitHub] [shardingsphere] tristaZero commented on issue #11728: Integrate with mybatis-plus failed to obtain the SQL exception information.

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


   HI @Jenyow ?


-- 
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: notifications-unsubscribe@shardingsphere.apache.org

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



[GitHub] [shardingsphere] Jenyow edited a comment on issue #11728: Integrate with mybatis-plus failed to obtain the SQL exception information.

Posted by GitBox <gi...@apache.org>.
Jenyow edited a comment on issue #11728:
URL: https://github.com/apache/shardingsphere/issues/11728#issuecomment-913179639


   Hi @RaigorJiang 
   I has write a demo : https://github.com/Jenyow/sharding-demo.git,  please read the project's  readme.md, thanks. 


-- 
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: notifications-unsubscribe@shardingsphere.apache.org

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



[GitHub] [shardingsphere] Jenyow commented on issue #11728: Integrate with mybatis-plus failed to obtain the SQL exception information.

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


   > Hello, for English only, please translate the issue, thank you.
   
   


-- 
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: notifications-unsubscribe@shardingsphere.apache.org

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



[GitHub] [shardingsphere] tristaZero commented on issue #11728: Integrate with mybatis-plus failed to obtain the SQL exception information.

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


   @Jenyow It's coming soon!


-- 
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: notifications-unsubscribe@shardingsphere.apache.org

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



[GitHub] [shardingsphere] Jenyow commented on issue #11728: Integrate with mybatis-plus failed to obtain the SQL exception information.

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


   > My god.why don't you provide a exception log in your demo...
   
   Sorry, now I had add the log file to the demo. 


-- 
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: notifications-unsubscribe@shardingsphere.apache.org

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



[GitHub] [shardingsphere] Jenyow closed issue #11728: Integrate with mybatis-plus failed to obtain the SQL exception information.

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


   


-- 
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: notifications-unsubscribe@shardingsphere.apache.org

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



[GitHub] [shardingsphere] tristaZero edited a comment on issue #11728: Integrate with mybatis-plus failed to obtain the SQL exception information.

Posted by GitBox <gi...@apache.org>.
tristaZero edited a comment on issue #11728:
URL: https://github.com/apache/shardingsphere/issues/11728#issuecomment-917619533


   @Jenyow It's coming soon! Do you use the master branch for your production?


-- 
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: notifications-unsubscribe@shardingsphere.apache.org

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



[GitHub] [shardingsphere] RaigorJiang commented on issue #11728: Integrate with mybatis-plus failed to obtain the SQL exception information.

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


   > Hi @Jenyow
   > Thanks for you report, but you did not provide an exception log, so we cannot determine the cause of the error. Maybe similar to #10138, you can try the master branch to check it.
   
   Hi @Jenyow 
   I have checked your demo project, the problem is duplicate with issue 10138. 
   Now it was fixed by #10845, You can build from master branch and try again.
   


-- 
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: notifications-unsubscribe@shardingsphere.apache.org

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



[GitHub] [shardingsphere] Jenyow commented on issue #11728: Integrate with mybatis-plus failed to obtain the SQL exception information.

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


   Wait for the next release.


-- 
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: notifications-unsubscribe@shardingsphere.apache.org

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



[GitHub] [shardingsphere] RaigorJiang commented on issue #11728: Integrate with mybatis-plus failed to obtain the SQL exception information.

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


   @Jenyow 
   If your problem is solved, please close this issue, thanks.


-- 
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: notifications-unsubscribe@shardingsphere.apache.org

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



[GitHub] [shardingsphere] Jenyow removed a comment on issue #11728: Integrate with mybatis-plus failed to obtain the SQL exception information.

Posted by GitBox <gi...@apache.org>.
Jenyow removed a comment on issue #11728:
URL: https://github.com/apache/shardingsphere/issues/11728#issuecomment-913316149


   > > Hi @Jenyow
   > > Thanks for you report, but you did not provide an exception log, so we cannot determine the cause of the error. Maybe similar to #10138, you can try the master branch to check it.
   > 
   > Hi @Jenyow
   > I have checked your demo project, the problem is duplicate with issue 10138.
   > Now it was fixed by #10845, You can build from master branch and try again.
   
   @RaigorJiang OK, thanks.


-- 
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: notifications-unsubscribe@shardingsphere.apache.org

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



[GitHub] [shardingsphere] cocodroid commented on issue #11728: Integrate with mybatis-plus failed to obtain the SQL exception information.

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


   My god.why don't you provide a exception log


-- 
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: notifications-unsubscribe@shardingsphere.apache.org

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



[GitHub] [shardingsphere] Jenyow commented on issue #11728: Integrate with mybatis-plus failed to obtain the SQL exception information.

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


   I has write a demo : https://github.com/Jenyow/sharding-demo.git,  please read the project's  readme.md, thanks.


-- 
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: notifications-unsubscribe@shardingsphere.apache.org

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



[GitHub] [shardingsphere] RaigorJiang commented on issue #11728: Integrate with mybatis-plus failed to obtain the SQL exception information.

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


   > Hi @RaigorJiang
   > I has write a demo : https://github.com/Jenyow/sharding-demo.git, please read the project's readme.md, thanks.
   
   @Jenyow  OK, I am going to have a test.


-- 
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: notifications-unsubscribe@shardingsphere.apache.org

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