Can you kindly elaborate a bit on this?
Type: Posts; User: Jonathan_r; Keyword(s):
Can you kindly elaborate a bit on this?
That's excellent..
Chudak, Thanks for the reply.
You had mentioned that we need not explicitly specify "prototype" scope in the bean definition as we are reloading the context. Just wanted to know will there be any...
This is bit interesting... How will the Listener(like ItemWriteListener) identify whether the item is being processed for the first time or it is a re-read due to previous failure of the chunk?
...
Dave, Thanks for replying...
I wont be able to switch to new version of spring batch now. Moreover i guess stable version of version 2 is not yet released. Hence Can you please suggest if there is...
Hi Johny,
As far as the MISMATCH is concerned, the API documentation of HibernateAwareItemWriter says "the set of failed items is stored in a collection internally, and this collection is never...
Thanks for your response chudak. Can you please let me know if you have the definitions of spring batch beans like jobLauncher, jobRepository etc. in your...
Chudak, Thanks for posting this example. Even i'm thinking of using this code in my application. But i've several jobs in my web applications and it gets invoked from the user through User Interface....
i faced similar issue but it worked fine after correcting my hashcode and equals method. please refer the below link for more info on generating hashcode and equals
...
Lucas, Thanks for replying..
Does that mean we cannot use stateless session for operations like save/update in spring batch?
Hi,
I'm using Hibernate for data access in my batch job. I understand using hibernate stateful session is not feasible in batch application and hence HibernateCursorItemReader is used for reading...
Can someone please let me know if this feature has been released in Spring 2.5.5?
please try adding the following config after your skippableExceptionClasses. Hopefully, this might work.
<property name="transactionAttribute"...
Thanks for the advice Dave.. My post has been approved now and posted on the forum. Can you please shed some light on my query.
just for testing as my queries are not being posted
Hi,
I'm having a problem with Skip logic. In one of my steps, i'm using skipLimitStep in order to skip any exceptions that are encountered in writer.
This is behaving as expected for Business...
I know this question might look weird for some as the purpose of step is to get executed sequentially, But just want to know whether we can skip a step on failure and continue with next step.
Thanks for the explanation Chudak. It helped me to read up on composite pattern and understand its usage.
Also, I had a requirement of reading from Parent table and child table in a single step...
Thanks for the reply Dave. It was really a pleasure to see response from a Senior member.
I guess it'll be good to use a staging table for games. Also, i was going through "Item Transforming"...
Hi,
I'm a newbie for Spring Batch and trying out few things to get a hold of it. I'm stuck in a scenario as i kept trying things from the samples. Any advice will be really helpful.
Comparing...