Upgrade problems for 1.3.8->2.0.0release #7376
Skylar-Chen-1
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
The most serious problem is:
we have a lot of procedure task, set the method just like "c11.do_some_thing", but in 2.0.0, that must be like "{call c11.do_some_thing(?,?,?)}", why not downward compatible??
source code about this:
2.0.0:
` DbType dbType = DbType.valueOf(procedureParameters.getType());
// get datasource
ConnectionParam connectionParam = DatasourceUtil.buildConnectionParams(DbType.valueOf(procedureParameters.getType()),
taskExecutionContext.getProcedureTaskExecutionContext().getConnectionParams());
1.3.8:
` Map<String, Property> paramsMap = ParamUtils.convert(ParamUtils.getUserDefParamsMap(taskExecutionContext.getDefinedParams()),
taskExecutionContext.getDefinedParams(),
procedureParameters.getLocalParametersMap(),
CommandType.of(taskExecutionContext.getCmdTypeIfComplement()),
taskExecutionContext.getScheduleTime());
Beta Was this translation helpful? Give feedback.
All reactions