Search:

Type: Posts; User: kousik.majumder; Keyword(s):

Page 1 of 3 1 2 3

Search: Search took 0.02 seconds.

  1. How to run batch with ',' separated values as job parameters

    Hi all,

    I have a requirement where I need to run spring batch 2.0 with job parameters as ',' separated values. How can I achieve that?
    I need to pass list of employess ids (e.g->...
  2. How to manipulate jobparameters before processing?

    Hi,

    I am using spring batch 2.0. I need to manipulate the input parameters passed as job parameters and finally those manipulated value should go as input in reader.
    For example I am sending list...
  3. Replies
    1
    Views
    1,055

    How to pass job parameters to job?

    Hi all,

    I need to pass the value of jobe parameter to myJob.xml. With this parameter values my reader will run the dynamic sql query.
    But the value is not being retrieved. The value may be list...
  4. Yes. Thank you for your quick reply.

    Yes.
    Thank you for your quick reply.
  5. How to read system property in applicationCOntext.xml

    Hi all,

    I need a system variable(variables with -D option) value in application-context.xml file.
    How can I achieve that?
    For example in below code I have to populate the value of 'LOCATION' by...
  6. Replies
    8
    Views
    1,647

    My problem is solved. Actually the jar installed...

    My problem is solved.
    Actually the jar installed was of version 2.1 but was in version 2.0 in maven repo.
  7. Replies
    8
    Views
    1,647

    Yes. spring-batch-core is also there. Otherwise...

    Yes. spring-batch-core is also there. Otherwise how the batch could have been run.
    And namespace version is also is 2.0. Then what else to do?


    <?xml version="1.0" encoding="UTF-8"?>...
  8. Replies
    8
    Views
    1,647

    As because I am using Maven so I have only one...

    As because I am using Maven so I have only one entry for this.
    Does this class reside in any other jar other than spring-batch-infrastructure?


    <dependency>...
  9. Replies
    8
    Views
    1,647

    No. Though I have the same configuration as your...

    No. Though I have the same configuration as your example but I am getting the typical exception given below.
    The SimpleRetryPolicy class is in my jar(spring-batch-infrastructure-2.0.4.RELEASE.jar)....
  10. Replies
    8
    Views
    1,647

    Spring batch commit rollback problem

    Hi all,

    I am using spring batch 2.0 with hibernate 3.2.
    My requirement is if there are 100 records to process and exception occurs at 23rd, 50th and 88th record then only those 3 records will be...
  11. Replies
    1
    Views
    642

    Can not restart job on exception

    Hi,

    I need to continue job on exception in spriing batch 2.0.My configuration is as belo.
    But I am gettign error as shown below.
    Please help.

    Config:-

    <job id="myJob" restartable="true" >...
  12. Hi Dave, Thanks for your reply. Would you...

    Hi Dave,

    Thanks for your reply.
    Would you please tell is it enough to rollback as well as skipping exception(RuntimeException) for that record but continuing with next records onwards?

    Thanks...
  13. Replies
    3
    Views
    1,053

    But the same configuration is not run ifro...

    But the same configuration is not run ifro version 2.0.


    <tasklet>
    <chunk reader="readDb" skip-limit="10" processor="process" writer="opWriter" commit-interval="5">...
  14. Replies
    3
    Views
    1,053

    Skipping on exception

    HI,

    I am confused about how to configure my batch if while writing(commit-interval -5) if 3rd record throws exception I have to skip it and also rollback it.
    Also I am using hibernate.

    Please...
  15. Spring batch with Hibernate 3.2 rollback example

    Hi all,

    I am using Spring batch 2.0 with hibernate 3.2.
    But I can not configure in such a way that if exception happen in writer layer rollback will happen. How to configure it?
    Can somebody...
  16. 1. public interface UpgradeService{ ...

    1.
    public interface UpgradeService{
    public void insertData() throws Exception;
    public ResultDto findData() throws Exception;
    ..................
    }...
  17. Spring batch hibernate rollback problem

    Hi,

    I am using Spring batch 2.0 with hibernate 3.2.
    I have 2 records with commit-interval 5.
    In below code UpgradeService is the interface where all methods throws Exception. All the DAO call...
  18. Hi, My program is giving below error. I had 2...

    Hi,

    My program is giving below error. I had 2 records. commit-interval was set as 5.
    In below code UpgradeService is the interface where all methods throws Exception. All the DAO call goes...
  19. @litius, But it may happen that I have set...

    @litius,

    But it may happen that I have set that commit-interval as 100 but the total number of records need to process is less than 100(may be 88) then what should I do? I have to process thoss 88...
  20. Spring batch and hibernate transaction commiting issue

    Hi all,

    I am using spring batch 2.0 with hibernate 3.2.6. I have used a service layer which is responsible to call DAO layer.DAO layer sends exception to service layer.
    My problem is that though...
  21. What you are suggesting is a service layer. And...

    What you are suggesting is a service layer. And instead of dao layer transaction point should be on service layer as below code.right?
    So utility class will also be called through service...
  22. Exception handling in Spring Hibernate

    Hi all,

    I am using Spring 2.5 with hibernate 3.2 and using HibernateTransactionManager. Only dao layer has been set for transaction rollback.
    But I have used the dao layer in other utility...
  23. Spring batch with Hibernate commit problem

    Hi all,

    I have used spring batch 2.0 with Hibernate 3.0.
    Now in job configuration I have used the commit-interval 5 in Spring batch.
    In hibernate I have not used any commit method.
    So while...
  24. org.springframework.orm.hibernate3.HibernateSystem Exception: Unknown entity

    Hi all,

    I am using spring with hibernate 3.2.6
    I am getting mentioned error while trying to update.
    Can somebody also tell me from which mapping spring is finding that path...
  25. got the solution

    Hi ,

    I have got a solution.Can somebody tell me whether am I correct or not?
    In the business class I added below 3 LOC and accordingly manipulated config xml file. Is it ok or other elegant are...
Results 1 to 25 of 53
Page 1 of 3 1 2 3