Search:

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

Page 1 of 2 1 2

Search: Search took 0.05 seconds.

  1. SalesforceFactory factory = new...

    SalesforceFactory factory = new BaseSalesforceFactory(clientid, clientSecret);
    Salesforce template = factory.create(username, password, secretToken);

    I saw this in one of your examples. But Once...
  2. Thanks Sidhartha Your solution worked

    Thanks Sidhartha Your solution works
  3. Job not failing and Repeat Operating entering into an infinite loop

    Currently i am skipping records for any exception that is thrown. However I was trying to see what happens when the database connection or connectivity is lost during the write process.

    What i...
  4. I agree with you. But each job instance might...

    I agree with you. But each job instance might have multiple job executions. say a job fails today and restarted the next day, the new job execution will have that date as the start date. However we...
  5. Nice to have creation date in BATCH_JOB_INSTANCE table

    I feel it would be good to have a creation date in BATCH_JOB_INSTANCE table. We are actually trying to figure out the schedule date based on the job instance creation date to generate reports. One...
  6. Where to download Spring Module Version 0.92 or 0.93

    Where to download Spring Module Version 0.92 or 0.93? Could somebody pass me the link or dependencies.

    Thanks
  7. nopes I cannot do that. I am calling some...

    nopes I cannot do that. I am calling some external apis to insert into the database. So it is quiet possible that these apis might throw exceptions due to various reasons like data integrity etc.
    ...
  8. Yes the error is happening in the writer.

    Yes the error is happening in the writer.
  9. Job not restarting on the line number expected

    I am encountering a strange problem during the job restart. This is happening in one of the strange scenarios and i am not able to figure out the root cause of the problem.

    I am reading from a...
  10. Hi Dave, I have an insert and a delete call...

    Hi Dave,
    I have an insert and a delete call insider write method

    public void write()
    throws Exception {
    a.insert();
    b.delete();
    }

    However problem in the delete method of...
  11. Disable Retry in Spring Batch not working

    In my current implementation my item writer nests transactions. So problem in the call of the second method does not cause the rollback of the first method transaction.

    However exception thrown by...
  12. If i create two steps, step2 will execute only...

    If i create two steps, step2 will execute only after step1. Does this mean
    that i will have to read the file all over again or the entire data is cached in memory during the execution of step2.
    ...
  13. Appropriate Solution to insert in one table and delete from another + Spring batch

    Hi,
    I have a requirement where i have to read from a file and insert them to a table after processing the read records. Also at the same time it has to delete from another table.

    The deletion...
  14. expose Components developed using Spring as an API

    Hi,
    I have developed some components using Spring Framework. These are reuasbale and hence anybody should be able to plugin and use them directly.Currently this is available as jar file and i do...
  15. Getting hold of the Line Number in SkipListener

    Hi,
    I am currently doing some validations in the ItemProcessor and i try to skip the record when the validation fails. At the same time i also have configured a SkipListener which needs to log...
  16. Should not rollback the transaction for inserting a record in ItemWriteListener

    Hi,
    For Every Exception that happens during the write() process i have written a listener that implements ItemWriteListener. In the onWriteError() i capture the record information with other...
  17. Record the Stage at which the Exception Occured during Write

    Hi,
    I have a requirement of writing to three different tables in the write process. Let us presume for a sec that these are three different web service calls.
    Transactions is not very important...
  18. Calling a Stored Procedure by writing custom class that extends JdbcCursorItemReader

    Hi,
    We have a requirement of reading the data from a Stored Procedure rather than plain SQL. Since there is no readily available Reader to read the data from Stored Procedure, I have a thought of...
  19. Replies
    1
    Views
    1,477

    Conditional Bean Creation

    I have one interface and two implementations of the interface. Example as shown below.

    public interface A{
    public void foo();
    }

    public class B implements A{
    public void foo();
    }
  20. When i mean SPRING IDE it is STS

    What i actually meant was i got this problem when i ran the sample using STS or SPring Source tool Suite which is of course built over eclipse i suppose.
  21. Thanks a lot, strict works great.

    Thanks a lot, strict works great.
  22. FixedLength giving issues while trying to fetch only a subset of values

    I do have a file which have many records or columns in a single row. This file is being used across multiple systems. Hence not all fields are required for my requirement. Hence if i set only a...
  23. It only happens with Spring IDE

    Thanks a lot Robert. When i launch this from eclipse, it worked fine. It only seems to be the problem when i happen to run it with Spring IDE.
  24. Exception while trying to run the samples using CommandLineJobRunner

    When i try to run the Spring Batch Sample using CommandLineJobRunner i am getting the below exception. Is it a classpath issue?



    2:59:57,490 INFO main XmlBeanDefinitionReader:323 - Loading XML...
  25. List of Skipped Records at the end of Step Execution

    Is there a way in Spring Batch in which i can get the list of all skipped records once the step has executed.

    Say i have five records and two were skipped because of some formatting issues.

    It...
Results 1 to 25 of 28
Page 1 of 2 1 2