You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@shardingsphere.apache.org by "guoxk2 (via GitHub)" <gi...@apache.org> on 2023/03/06 09:13:18 UTC

[GitHub] [shardingsphere] guoxk2 opened a new issue, #24473: The for loop under batch update only modifies the table name of the first statement

guoxk2 opened a new issue, #24473:
URL: https://github.com/apache/shardingsphere/issues/24473

   Which version of ShardingSphere did you use?
   5.1.2
   
   Which project did you use? ShardingSphere-JDBC or ShardingSphere-Proxy?
   ShardingSphere-JDBC
   
   Expected behavior
   replace all table names
   
   Actual behavior
   Only the table name of the first cycle is replaced
   
   
   ![image](https://user-images.githubusercontent.com/40156524/223065410-ea06d5c2-fa8e-4bd4-8c9c-1cb0558fad25.png)
   
   running results:
   ![image](https://user-images.githubusercontent.com/40156524/223066443-0d979f43-33bb-4e9d-b82b-3d16c1faf543.png)
   
   How to replace all table names in the loop?
   


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

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


[GitHub] [shardingsphere] twitchob commented on issue #24473: The for loop under batch update only modifies the table name of the first statement

Posted by "twitchob (via GitHub)" <gi...@apache.org>.
twitchob commented on issue #24473:
URL: https://github.com/apache/shardingsphere/issues/24473#issuecomment-1478853107

   If possible, could you please close this issue?


-- 
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] guoxk2 commented on issue #24473: The for loop under batch update only modifies the table name of the first statement

Posted by "guoxk2 (via GitHub)" <gi...@apache.org>.
guoxk2 commented on issue #24473:
URL: https://github.com/apache/shardingsphere/issues/24473#issuecomment-1463343779

   > Thanks for feedback, the `5.1.2` version is outdated, can you try the latest version?
   
   After changing to version `5.3.1`, the problem no longer appears, 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] gufeng710 commented on issue #24473: The for loop under batch update only modifies the table name of the first statement

Posted by "gufeng710 (via GitHub)" <gi...@apache.org>.
gufeng710 commented on issue #24473:
URL: https://github.com/apache/shardingsphere/issues/24473#issuecomment-1698629581

   Hello, I'm having the same problem.  with using org.apache.shardingsphere:shardingsphere-jdbc-core:5.3.1, The problem still exists. Can you help me


-- 
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 closed issue #24473: The for loop under batch update only modifies the table name of the first statement

Posted by "RaigorJiang (via GitHub)" <gi...@apache.org>.
RaigorJiang closed issue #24473: The for loop under batch update only modifies the table name of the first statement
URL: https://github.com/apache/shardingsphere/issues/24473


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


Re: [I] The for loop under batch update only modifies the table name of the first statement [shardingsphere]

Posted by "strongduanmu (via GitHub)" <gi...@apache.org>.
strongduanmu commented on issue #24473:
URL: https://github.com/apache/shardingsphere/issues/24473#issuecomment-1974237204

   Hi @6westboy9, ShardingSphere doesn't support multi statement execute.


-- 
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 #24473: The for loop under batch update only modifies the table name of the first statement

Posted by "RaigorJiang (via GitHub)" <gi...@apache.org>.
RaigorJiang commented on issue #24473:
URL: https://github.com/apache/shardingsphere/issues/24473#issuecomment-1480492832

   > After changing to version `5.3.1`, the problem no longer appears, thank you
   
   Great!  thanks for your feedback.
   


-- 
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] azexcy commented on issue #24473: The for loop under batch update only modifies the table name of the first statement

Posted by "azexcy (via GitHub)" <gi...@apache.org>.
azexcy commented on issue #24473:
URL: https://github.com/apache/shardingsphere/issues/24473#issuecomment-1461543091

   Thanks for feedback, the `5.1.2` version is outdated, can you try the latest version?


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


Re: [I] The for loop under batch update only modifies the table name of the first statement [shardingsphere]

Posted by "6westboy9 (via GitHub)" <gi...@apache.org>.
6westboy9 commented on issue #24473:
URL: https://github.com/apache/shardingsphere/issues/24473#issuecomment-1973206138

   Hello, I'm having the same problem. with using org.apache.shardingsphere:shardingsphere-jdbc-core:5.4.1, The problem still exists. Can you help me


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