aviralgarg05 opened a new pull request, #38160: URL: https://github.com/apache/shardingsphere/pull/38160
## Summary - clear prepared statement batch generated key cache at new-batch boundaries to avoid stale IDs leaking into later executeBatch() calls - keep generated keys available for the current batch result while preserving existing non-batch generated-key behavior - add regression test for stale generated values when executeBatch() is invoked without pending batches ## Issue Fixes #36281 ## Verification - ./mvnw -pl jdbc -DskipITs -Dspotless.skip=true -Dtest=ShardingSpherePreparedStatementTest test -Dsurefire.failIfNoSpecifiedTests=false - ./mvnw -pl jdbc -DskipITs test - ./mvnw -pl jdbc -Pcheck checkstyle:check - ./mvnw -pl jdbc -Pcheck spotless:check - ./mvnw -pl jdbc -Pcheck -DskipITs test -- 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]
