Search:

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

Page 1 of 2 1 2

Search: Search took 0.03 seconds.

  1. Exception in reader. Not skipping. job failed

    I have a job def like follows:

    <property name="itemReader">
    <bean class="com.MyReader">
    <property name="itemReader" ref="headerItemReader" />
    <property name="manager" ref="myManager" />...
  2. 29 Oct 2008 17:49:59,697...

    29 Oct 2008 17:49:59,697 [SimpleAsyncTaskExecutor-1] com.listeners.ItemLevelListener - Error while reading.
    org.springframework.jdbc.UncategorizedSQLException: Attempt to process next row failed;...
  3. JdbcCursorItemReader. Frequent Start/Stop job throws UncategorizedSQLException.

    I have a spring batch application running on an app server.
    I have a given a provision to the user to stop the job in between.
    This is being done using jobExecution.stop().
    But if the user Start...
  4. ItemCount and skipcount for HibernateAwareItemWriter

    How does itemcount, skipcount and rollbackcount will work in case of using HibernateAwareItemWriter ? Is this different from the normal JDBC scenario?

    I have four parent records and a few children...
  5. Replies
    0
    Views
    599

    ItemCount and skipcount for HibernateAwareItemWriter

    How the itemcount, skipcount and rollbackcount will work in case of using HibernateAwareItemWriter ? Is this different from the normal JDBC scenario?

    I have four parent records and a few children...
  6. Replies
    6
    Views
    1,358

    yes, i have only one data source

    yes, i have only one data source
  7. Replies
    6
    Views
    1,358

    I'm using both JDBC(for reading reference data)...

    I'm using both JDBC(for reading reference data) and Hibernate(for reading input and writing output) in my Job. I'm using simpleStep and its configured like this:


    <bean id="simpleStep"...
  8. Replies
    4
    Views
    1,777

    I was using...

    I was using org.springframework.batch.item.support.DelegatingItemReader.

    This is being removed from version2. Is there any similar class in v2 ?
  9. Replies
    4
    Views
    1,777

    From where i can download 1.1.3 ?

    From where i can download 1.1.3 ?
  10. Replies
    6
    Views
    1,358

    Roll back in hibernate

    My reader class pass a list of objects into my writer class. My writer class insert/update many records in db. Suppose if i am throwing a business exception thrown for third record , i want to...
  11. Replies
    4
    Views
    1,153

    "write-behind" + rollback

    In the sample doc, it is mentioned as below:

    This "write-behind" behaviour is provided by Hibernate implicitly, but we need to take control of it so that the skip and retry features provided by...
  12. Replies
    1
    Views
    979

    ItemKeyGenerator

    Can anybody kindly please tell me how to create ItemKeyGenerator.
    I have to manipulate with many objects (including wrappers).
    I am getting "Inconsistent state for failed item key: hashCode has...
  13. Would you please explain how to create...

    Would you please explain how to create ItemKeyGenerator?

    I have given hashcode and equals for all objects that i am using including my wrapper objects. But whenever i throw my user defined...
  14. Hashcode and equals

    I keep on getting this error: :confused:
    org.springframework.batch.retry.RetryException: Inconsistent state for failed item key: hashCode has changed. Consider whether equals() or hashCode() for the...
  15. Replies
    4
    Views
    1,153

    jobexecution data

    I have a job with many steps, say 5 steps.
    I am printing the step names with some other step info at the end of the job using jobexecution. But the order of steps displayed is not consistent with...
  16. Replies
    4
    Views
    1,153

    Thank you very much. I was using factory beans...

    Thank you very much.
    I was using factory beans itself.
    I registered my manager as listener to the step. It worked fine.
  17. Replies
    4
    Views
    1,153

    How to get StepExecution in service layer ?

    I have a scenario as explained below:
    I have a Itemwriter class which calls service layer (manager) class and this will in turn call dao layer class to do some db operation.
    Here in service layer...
  18. Thanks a lot.

    Thanks a lot.
  19. Is spring batch meta data table's name configurable?

    Can i change the spring batch meta data table's name?
  20. Replies
    0
    Views
    740

    onSkipInWrite(): throwable type

    I have some business validations in doProcess() of my writer class.
    I will throw corresponding user defined business exception object for each business validation failure. I have the skip logic...
  21. Replies
    15
    Views
    4,166

    listener

    Is there any listener method which will be executed always regardslesswhether the job completed or failed or interrupted.

    I found that the methods in job level listener will be notified in various...
  22. Replies
    15
    Views
    4,166

    "If the input is not a String and a converter is...

    "If the input is not a String and a converter is available the converter will be applied and then this method recursively called with the result.If no converter is supplied the input object's...
  23. Replies
    15
    Views
    4,166

    I have to generate a report(flat file) after...

    I have to generate a report(flat file) after execution of each step or in case of errors. (Or i want to do some notification via email on error.)
    What my plan now is to generate the report using...
  24. Replies
    15
    Views
    4,166

    Thank you very much. Thanks a lot. It worked...

    Thank you very much. Thanks a lot.
    It worked fine.
  25. Replies
    15
    Views
    4,166

    Thank you for your valuable input. I have a...

    Thank you for your valuable input.

    I have a main itemReader(JdbcCursorItemReader) and a delegating Item reader(com.batch.item.reader.CustomReader extends DelegatingItemReader).
    My job config is...
Results 1 to 25 of 49
Page 1 of 2 1 2