Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -137,6 +137,7 @@ public String extractTableName(TablePath tablePath) {
public Map<String, String> defaultParameter() {
HashMap<String, String> map = new HashMap<>();
map.put("rewriteBatchedStatements", "true");
Copy link

Copilot AI May 6, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[nitpick] Consider adding a comment explaining why the "allowMultiQueries" parameter is necessary for clarity and future maintainability.

Suggested change
map.put("rewriteBatchedStatements", "true");
map.put("rewriteBatchedStatements", "true");
// Enable multiple SQL queries in a single statement. This is required for certain
// OceanBase MySQL operations that rely on executing multiple queries together.
// Note: Use with caution as it may increase the risk of SQL injection if inputs are not sanitized.

Copilot uses AI. Check for mistakes.
map.put("allowMultiQueries", "true");
return map;
}

Expand Down