xuup commented on issue #19849:
URL:
https://github.com/apache/shardingsphere/issues/19849#issuecomment-1206241406
Got it . I mean ShardingSphere-Proxy support allowMultiQueries setting like
JDBC ?
I hope I can execute more than one sql in a request.
This case can be work and update tow records in JDBC with MySQL but execute
error in ShardingSphere-Proxy.
```
Class.forName("com.mysql.cj.jdbc.Driver");
String url =
"jdbc:mysql://127.0.0.1:3306/demo_ds_0?useSSL=false&allowMultiQueries=true";
String user = "";
String pwd = "";
Connection connection = DriverManager.getConnection(url, user, pwd);
Statement statement = connection.createStatement();
statement.execute("update t_order_0 set content_plain = 'con22'
where user_id=10;update t_order_0 set content_plain = 'con24' where
user_id=12");
```
--
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]