tristaZero commented on issue #10927:
URL:
https://github.com/apache/shardingsphere/issues/10927#issuecomment-869454185
Which function?
```java
public int executeUpdate(final ExecutionGroupContext<JDBCExecutionUnit>
executionGroupContext,
final LogicSQL logicSQL, final
Collection<RouteUnit> routeUnits, final JDBCExecutorCallback<Integer> callback)
throws SQLException {
try {
ExecuteProcessEngine.initialize(logicSQL, executionGroupContext,
metaDataContexts.getProps());
SQLStatementContext<?> sqlStatementContext =
logicSQL.getSqlStatementContext();
List<Integer> results =
jdbcLockEngine.execute(executionGroupContext, sqlStatementContext, routeUnits,
callback);
int result =
isNeedAccumulate(metaDataContexts.getDefaultMetaData().getRuleMetaData().getRules(),
sqlStatementContext) ? accumulate(results) : results.get(0);
ExecuteProcessEngine.finish(executionGroupContext.getExecutionID());
return result;
} finally {
ExecuteProcessEngine.clean();
}
}
```
Do you mean this one? Doesn't it throw an SQLException?
--
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]