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...
Type: Posts; User: catsfelix; Keyword(s):
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...
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...
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 :)....
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...
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...
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...
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...
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()'?
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...