一、问题
最近在自己搭建spring batch的框架,一步一步趟坑中;
java.sql.SQLSyntaxErrorException: ORA-02289
二、解决
通过Debug发现,就是在这一句代码执行时报错的:
JobExecution execution = this.jobLauncher.run(job, nextParameters);
但是,我们找到这个run()方法,发现也没有特别的地方:只有一个接口:
//
// Source code recreated from a .class file by IntelliJ IDEA
// (powered by Fernflower decompiler)
//
package org.springframework.batch.core.launch;
import org.springframework.batch.core.Job;
import org.springframework.batch.core.JobExecution;
import org.springframework.batch.core.JobParameters;
import org.springframework.batch.core.JobParametersInvalidException;
import org.springframework.batch.core.repository.JobExecutionAlreadyRunningException;
import org.springframework.batch.core.repository.JobInstanceAlreadyCompleteException;
import org.springframework.batch.core.reposi