Stored procedures 如何从Spring批处理Tasklet调用存储过程?
提到Spring批处理中的TaskletStep可用于调用存储过程。是否有人可以提供一个如何从TaskletStep调用存储过程的示例?到目前为止,我已经这样做了,但是它抛出了一个异常,说“配置问题:元素[callStoredProcedure]不可访问” 存储过程应如何配置以及在何处配置?如果能收到任何建议,我会很感激的 感谢和问候而不是Stored procedures 如何从Spring批处理Tasklet调用存储过程?,stored-procedures,spring-batch,tasklet,Stored Procedures,Spring Batch,Tasklet,提到Spring批处理中的TaskletStep可用于调用存储过程。是否有人可以提供一个如何从TaskletStep调用存储过程的示例?到目前为止,我已经这样做了,但是它抛出了一个异常,说“配置问题:元素[callStoredProcedure]不可访问” 存储过程应如何配置以及在何处配置?如果能收到任何建议,我会很感激的 感谢和问候而不是 value="call stored_procedure() 放 value="stored_procedure" without () on end.
value="call stored_procedure()
放
value="stored_procedure" without () on end.
这将解决您的问题可能重复的
value="call stored_procedure()
value="stored_procedure" without () on end.