组织。springframework。jdbc。BadSqlGrammarException:PreparedStatementCallback;错误的SQL语法[从批处理作业实例中选择作业实例ID、作业名称,其中作业名称=?按作业实例ID描述排序];嵌套的例外是java。sql。SQLSyntaxErrorException:ORA-00942:表或视图不存在
我想你可能需要编辑你的xml配置文件
<bean id="jobRepository"
class="org.springframework.batch.core.repository.support.JobRepositoryFactoryBean"
p:dataSource-ref="dataSource" p:transactionManager-ref="transactionManager"
p:tablePrefix="MYDB.BATCH_"/>
MYDB是您的模式源