Search:

Type: Posts; User: johnmmcparland; Keyword(s):

Search: Search took 0.01 seconds.

  1. Replies
    5
    Views
    510

    Yikes I made a big mistake here... DELETE...

    Yikes I made a big mistake here...



    DELETE FROM BATCH_STEP_EXECUTION_CONTEXT ;
    DELETE FROM BATCH_JOB_EXECUTION_CONTEXT ;
    DELETE FROM BATCH_STEP_EXECUTION ;
    DELETE FROM BATCH_JOB_EXECUTION ;...
  2. Replies
    4
    Views
    1,119

    At long last I figured this out. I didn't have...

    At long last I figured this out.

    I didn't have to change any of my Spring configuration from the first example (except if I wished to include the date/time parameter).

    In fact what was wrong...
  3. Replies
    4
    Views
    1,119

    I created my own JobParametersIncrementer and...

    I created my own JobParametersIncrementer and used a JobOperator with my own main method rather than a JobLauncher & CommandLineRunner (I'd read I need to do this here)

    But I'm no further...
  4. Replies
    4
    Views
    1,119

    Thanks for your reply Michael. Here it...

    Thanks for your reply Michael.



    Here it is;



    SEVERE: Job Terminated in error: PreparedStatementCallback; SQL [INSERT into BATCH_JOB_INSTANCE(JOB_INSTANCE_ID, JOB_NAME, JOB_KEY, VERSION)...
  5. Replies
    3
    Views
    421

    Within the Process part (ItemProcessor...

    Within the Process part (ItemProcessor) you can make it do whatever you like.

    Often what I do is create a class which requires a "service" bean and calls methods upon that. The "service" bean has...
  6. Replies
    5
    Views
    510

    I've used this with v2.1.7.RELEASE DELETE...

    I've used this with v2.1.7.RELEASE



    DELETE FROM BATCH_STEP_EXECUTION_CONTEXT ;
    DELETE FROM BATCH_JOB_EXECUTION_CONTEXT ;
    DELETE FROM BATCH_STEP_EXECUTION ;
    DELETE FROM BATCH_JOB_EXECUTION ;...
  7. Replies
    4
    Views
    1,119

    How to re-run a job?

    Hi,

    I have defined a Spring Batch job which runs once just fine. However it is unable to run a second time due to a duplicate entry in the primary key for the JOB_INSTANCE_ID;


    SEVERE: Job...
Results 1 to 7 of 8