Search:

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

Search: Search took 0.03 seconds.

  1. Replies
    2
    Views
    756

    Inefficient ItemSkipPolicy impl.

    Hi,
    Please kindly advice me on the following scenario:

    Suppose I have 5 items (1,2,3,4,5) to process in the batch job. I'd like to skip any faulty records and proceed to the next one. I know I...
  2. Replies
    3
    Views
    862

    Dave, thank you so much for your valuable...

    Dave, thank you so much for your valuable advice..and yes it solves my problem. Here is what I do to solve the problem:



    public class NoWorkFriendlyItemReader extends...
  3. Replies
    3
    Views
    862

    I just saw there's a jira issue created for this:...

    I just saw there's a jira issue created for this:
    http://jira.springframework.org/browse/BATCH-414

    thx for the effort of treating this as an outstanding task for the spring-batch team :)....
  4. Replies
    3
    Views
    862

    How to bypass NoWorkFoundException

    Hi,

    My job has 3 steps:
    step-1 : update table_A records with some data
    step-2 : generate output file_X from table_A based on criteria_1
    step-3: generate output file_Y from table_A based on...
  5. Replies
    14
    Views
    1,911

    Dave, it works!!! Thank you so much for pointing...

    Dave, it works!!! Thank you so much for pointing me the mistake. Also thx to Lucas for the info that DataSourceTransactionManager supports REQUIRES_NEW propagation. Initialy I thought the problem was...
  6. Replies
    14
    Views
    1,911

    I am using...

    I am using 'org.apache.commons.dbcp.BasicDataSource' and I set it to the SqlMapClientFactoryBean. I deploy my batch-job as a standalone java application, that means I dont deploy it inside any...
  7. Replies
    14
    Views
    1,911

    Dave and Lucas, thx a lot for ur replies.. I...

    Dave and Lucas, thx a lot for ur replies..
    I tried to go for AOP approach by declaring 'REQUIRES_NEW' but with no success.

    Below is my setting:
    ...
    <aop:config>
    <aop:advisor...
  8. Replies
    14
    Views
    1,911

    One more thing.. I use the...

    One more thing..
    I use the 'SkipLimitStepFactoryBean' for my step. Will it be working if I put the database log.logic inside the 'SkipListenerSupport.onSkipInWrite()'?
  9. Replies
    14
    Views
    1,911

    How to log the data error into database

    Hi, I want to be able to insert a usefull information(e.x. PK of the record) into a database in the event of processing error/exceptions. But the problem is, since the processing error/exceptions...
Results 1 to 9 of 9