我需要使用JobOperatorImpl来处理JBeret中以编程方式定义的作业。我使用Thorntail作为一个容器,带有io.horntail:batch-jberet依赖项。).getJobOperator();
但是我得到了一个例外:Caused by: java.lang.ClassCastException: org.wildfly.extension.batch.jberet.deployment.JobOperatorServicecannot be cast to org.jberet.operation
我试图使用JBERET实现在java模式下运行JSR352 Java批处理程序。我可以看到我的main()方法正在被执行。在这个main()方法中,我获得了作业操作符的句柄,并启动了作业。{
logger.info("Begining Batch with JBeretTRACE: org.jberetJBERET000022: resume is not implemented fo
我想知道是否可以手动在一个批处理上设置writecount属性,以便在STEP_EXECUTION.WRITECOUNT字段的表上记录结果。@Injectprivate Logger logger;
public void executeQuery(String query) {
final int output = entityManager.createNativeQuery(query).