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/06/01 16:52:10 UTC
[GitHub] [shardingsphere] Pinary opened a new issue #10616: multi row sql problem
Pinary opened a new issue #10616:
URL: https://github.com/apache/shardingsphere/issues/10616
## 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?
3.x 4.x 5.x
### Which project did you use? ShardingSphere-JDBC or ShardingSphere-Proxy?
ShardingSphere-JDBC
### Expected behavior
Running 2 insert sql as one statement. e.g:
insert into system_log_operate (id,create_date) values (?, ?);
insert into test(id,create_date) values (?, ?);
we expected actual sql :
insert into system_log_operate_0 (id,create_date) values (?, ?);
insert into test(id,create_date) values (?, ?);
### Actual behavior
get error java.sql.SQLException: No value specified for parameter 3
### Reason analyze (If you can)
### Steps to reproduce the behavior, such as: SQL to execute, sharding rule configuration, when exception occur etc.
### 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] strongduanmu commented on issue #10616: multi row sql problem
Posted by GitBox <gi...@apache.org>.
strongduanmu commented on issue #10616:
URL: https://github.com/apache/shardingsphere/issues/10616#issuecomment-852601154
@Pinary ShardingSphere does not support multiple SQL, because it will bring more complexity and lower performance. You can split multiple SQL into multiple single SQL for execution.
--
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] strongduanmu closed issue #10616: multi row sql problem
Posted by GitBox <gi...@apache.org>.
strongduanmu closed issue #10616:
URL: https://github.com/apache/shardingsphere/issues/10616
--
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] strongduanmu closed issue #10616: multi row sql problem
Posted by GitBox <gi...@apache.org>.
strongduanmu closed issue #10616:
URL: https://github.com/apache/shardingsphere/issues/10616
--
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