Bug #96623 | batch update with rewriteBatchedStatements&useServerPrepStmts send fail request | ||
---|---|---|---|
Submitted: | 22 Aug 2019 17:17 | Modified: | 7 Oct 2024 22:34 |
Reporter: | robi su | Email Updates: | |
Status: | Closed | Impact on me: | |
Category: | Connector / J | Severity: | S5 (Performance) |
Version: | 8.0.15, 8.0.17 | OS: | Linux |
Assigned to: | CPU Architecture: | x86 |
[22 Aug 2019 17:17]
robi su
[22 Aug 2019 17:20]
robi su
this will send useless request and affect performance if user use those configuration
[23 Aug 2019 4:42]
robi su
hi I have file a PR in github https://github.com/mysql/mysql-connector-j/pull/42
[23 Aug 2019 10:34]
MySQL Verification Team
Hello Li Su, Thank you for the report and feedback. regards, Umesh
[23 Aug 2019 10:39]
MySQL Verification Team
Please note that in order to submit contributions you must first sign the Oracle Contribution Agreement (OCA). For additional information please check http://www.oracle.com/technetwork/community/oca-486395.html. If you have any questions, please contact the MySQL community team.
[17 Sep 2024 10:50]
Filipe Silva
Duplicated by Bug#101560.
[7 Oct 2024 22:34]
Daniel So
Posted by developer: Added the following entry to the C/J 9.1.0 changelog: "When rewriteBatchedStatements was set to true, Connector/J failed to detect some cases in which server-side PreparedStatements could not be used, resulting in errors for the statement preparations. With this fix, Connector/J detected the issues and uses client-side PreparedStatements instead in those situations."