Hi Geoff
I didn't submit a patch to the community. Please find the sample code for reference.
public class BatchSqlServerMaxValueIncrementer extends SqlServerMaxValueIncrementer {
...
Type: Posts; User: arun4; Keyword(s):
Hi Geoff
I didn't submit a patch to the community. Please find the sample code for reference.
public class BatchSqlServerMaxValueIncrementer extends SqlServerMaxValueIncrementer {
...
Thanks a lot for your replay mminella.
Before running this batch job , XXXXXToBeProcessed indicator is set by some other batch job. Due some business change, the XXXXXToBeProcessed is set to 0...
Hi All,
I have implemented the Use case to export the data to file.
My Reader : Reads the data from database tables and based on one indicator it set error code '0999' and '0998'
Writer : Collect...
Thanks for your reply Mminella.
We are discussing for an update on Spring Batch Latest version.
For this issue can we do some workaround to avoid sharing the execution context between threads?
Thanks for your reply Mminella.
Yes We are using 2.1.0
Sorry for the late reply.
Hi All,
We have batch use case like
Step1: Register the job once.
Step2: Launch the same job in different Threads with different job parameters. We have used promotion listener to reuse the value...
Hi All,
We have business scenario like, if any business exception occurs, the current item need to rollback and continue with the next item. We don't know how many items will come at runtime so...
Hi All,
I have simple job with reader, processor and writer. While lauching the job we will set the job parameter called OnlineDay with value 0 or 1. If the OnlineDay=1, we need to add the...
Thanks Marten. It worked.
Hi All,
I need to get the ItemProcessor class name in the wrapper class. Currently I am getting it as $Proxy13 when we call the itemProcessor.getClass().getCanonicalName();
<bean...
Hi All,
I have a scenario like starting more than a job at same time. we are getting deadlocks on the spring tables with the isolation level SERIALIZABLE, then changed the isolation level to...
Hi All,
The Connection Closed Exception and Connection Already closed exception occured due to do some configuration issues in the Windows Server 2003 SP2.
...
Transaction manager is there in the step level. (Sorry copy paste mistake).
MultiThreading logic:
Jvm first load the job and as per business, we will split the records in to different list(Called...
Hi All,
We have scenario like when ever a step started need to update the status in the batch architecture table called BatchTask.
Status should be committed to the database. Basically I need to...
Yes we are getting the reader closed error.
This is my job configuration. In the processor we are using opensession and close session to processing the business.
<job...
We are not trying to kill the job execution. Data in the database is not proper. No all the item processed.
We had some test in local environment:
Test1: Run the same code (Same Database backups)...
Please find the SynchronizedItemReader bean code.
<bean id="commonStepListItemReader"
class="my.application.batch.core.reader.SynchronizedItemReader">
<property name="delegate"...
Hi Sambaran,
We have tested with the synchronized delegate. we are getting same exception in the
my.application.batch.core.reader.SynchronizedItemReader.close(SynchronizedItemReader.java:54).
...
Thanks for your reply sambaran.
We have started testing with synchronized delegate. Once done, we will update you.
Thanks for your reply Sambaran.
We are using default HibernateCursorItemReader. I have verified the data. There is to scenario's
1. Some time Job is completed successfully and data also proper but...
Hi All,
I have an batch processing that registers the job and start the registered job in different threads(Each job with different parameters).
All the threads processing successfully, jobs are...
Hi All,
we have use case that read the data from the stored procedure and process it and write to the database.
whenever any system exception occurs, it should skip and process the next item. but...
Error message:
00:40:04,801 ERROR main TransactionTemplate:157 - Application exception overridden by rollback exception
org.springframework.dao.DataAccessResourceFailureException: could not...
Hi all,
I have some doubts regarding the retry on Network problems while batch is running.
scenarios:
1. Network is down for 10 min?
2. Active connection is closed because of network issue or...
Thanks for your reply.
We are using BasicDataSource with default connection pooling. only we have provided url, driver name,username, and password.
I am using commons-dbcp-1.4, Is there is any...