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/05/27 12:58:50 UTC

[GitHub] [shardingsphere] lyennon opened a new issue #10507: There is a problem in ShardingSphereConnection . It should TransactionHolder.setInTransaction() when setAutoCommit(false)

lyennon opened a new issue #10507:
URL: https://github.com/apache/shardingsphere/issues/10507


   https://github.com/apache/shardingsphere/blob/41f1335023c8ca10ba289b8d02ae29967045429d/shardingsphere-jdbc/shardingsphere-jdbc-core/src/main/java/org/apache/shardingsphere/driver/jdbc/core/connection/ShardingSphereConnection.java#L237
   
    It should TransactionHolder.setInTransaction() when setAutoCommit(false); 
   if(!autoCommit){
   TransactionHolder.setInTransaction()
   }


-- 
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] yx9o commented on issue #10507: There is a problem in ShardingSphereConnection . It should TransactionHolder.setInTransaction() when setAutoCommit(false)

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


   @RaigorJiang Hi, I want to try to deal with this issue. I verified that this problem exists in the case of `TransactionType.LOCAL`.
   ![8915b10bebe0d60e930833a3b517430](https://user-images.githubusercontent.com/12792261/135125717-ce7f0203-7507-4f66-bf91-19a62f48dc15.png)
   ![daa53556fad52e91d72a3b4ee81f242](https://user-images.githubusercontent.com/12792261/135125731-d6acc35f-f93b-4311-802c-85c14303f332.png)
   
   


-- 
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] yx9o commented on issue #10507: There is a problem in ShardingSphereConnection . It should TransactionHolder.setInTransaction() when setAutoCommit(false)

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


   @RaigorJiang Hi, I want to try to deal with this issue. I verified that this problem exists in the case of `TransactionType.LOCAL`.
   ![8915b10bebe0d60e930833a3b517430](https://user-images.githubusercontent.com/12792261/135125717-ce7f0203-7507-4f66-bf91-19a62f48dc15.png)
   ![daa53556fad52e91d72a3b4ee81f242](https://user-images.githubusercontent.com/12792261/135125731-d6acc35f-f93b-4311-802c-85c14303f332.png)
   
   


-- 
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 #10507: There is a problem in ShardingSphereConnection . It should TransactionHolder.setInTransaction() when setAutoCommit(false)

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


   Thanks @yx9o .


-- 
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] terrymanu closed issue #10507: There is a problem in ShardingSphereConnection . It should TransactionHolder.setInTransaction() when setAutoCommit(false)

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


   


-- 
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 #10507: There is a problem in ShardingSphereConnection . It should TransactionHolder.setInTransaction() when setAutoCommit(false)

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


   Thanks @yx9o .


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