SCT-66 Fix for Task_Execution error
Sets the argType for the task_execution_id in the Task_Execution_params to be a BIGINT (vs the VARCHAR) spring-cloud/spring-cloud-task#66
This commit is contained in:
committed by
Thomas Risberg
parent
2ceb353838
commit
c336bea0d2
@@ -298,7 +298,7 @@ public class JdbcTaskExecutionDao implements TaskExecutionDao {
|
|||||||
* TASK_EXECUTION_PARAMS table.
|
* TASK_EXECUTION_PARAMS table.
|
||||||
*/
|
*/
|
||||||
private void insertParameter(long executionId, String param) {
|
private void insertParameter(long executionId, String param) {
|
||||||
int[] argTypes = new int[]{ Types.VARCHAR, Types.VARCHAR };
|
int[] argTypes = new int[]{ Types.BIGINT, Types.VARCHAR };
|
||||||
Object[] args = new Object[]{ executionId, param };
|
Object[] args = new Object[]{ executionId, param };
|
||||||
jdbcTemplate.update(getQuery(CREATE_TASK_PARAMETER), args, argTypes);
|
jdbcTemplate.update(getQuery(CREATE_TASK_PARAMETER), args, argTypes);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user