Search:

Type: Posts; User: sanjeev m; Keyword(s):

Search: Search took 0.02 seconds.

  1. Which is better jdbcCursorItemReader and call SP , Springbatch JPA with JPA queries

    Hi,

    I want to know which is better approach,
    1.Using jdbcCursorItemReader to call storedProcedure
    OR
    2. Using springBatch JPA with JPA Queries.
  2. Thanks minella, I went through the tutorial,...

    Thanks minella,

    I went through the tutorial, there its mentioned about how to create xml from objects,my requirement is opposite.
    could you please tell How do i map the attribute and value of an...
  3. How to read xml attribute and value using staxEventItemReader

    Hi,

    I have problem in
    1.Mapping tag which contains attribute and value..for e.g
    <aid IdScope="Sender">20110421000008</aid >
    Here how to read IdScope attribute and its value.
    2.I am...
  4. Yes, I have mapped tags to the respective...

    Yes, I have mapped tags to the respective classes.
    I have problem in
    1.Mapping tag which contains attribute and value..for e.g
    <aid IdScope="Sender">20110421000008</aid >
    Here how to read...
  5. I am happy to hear that. Here is my xml ...

    I am happy to hear that. Here is my xml


    <?xml version="1.0" encoding="UTF-8"?>
    <!--DOCTYPE aim SYSTEM "MyMsg.dtd"> -->
    <MyMsg Status="Live">
    <MID>700</MID>
    ...
  6. Thanks minella.. I deleted everything and...

    Thanks minella..

    I deleted everything and started from scratch to read from xml now its working, sad thing is i didnt get what was the actual problem.

    Hi have a doubt, Is it possible to read...
  7. Hi minella, when i run it through commandline...

    Hi minella,

    when i run it through commandline jobrunner.. no exception , no output but
    when i run the same through class containg main method i am getting exception mentioned above

    ...
  8. Hi minella, Here is xml which i was trying to...

    Hi minella,

    Here is xml which i was trying to read


    <?xml version="1.0" encoding="UTF-8"?>
    <records>
    <trade xmlns="http://springframework.org/batch/sample/io/oxm/domain">
    ...
  9. How to fix: Unknown Source type: class javax.xml.transform.stax.StAXSource

    Hi,
    I am trying to read an xml file using staxEventitemReader but i am getting following exception


    java.lang.IllegalArgumentException: Unknown Source type: class...
  10. Hi Kevin, 1.Two constructor-args in...

    Hi Kevin,

    1.Two constructor-args in sqlparameter,
    one is for variable name and another for datatype

    If you are looking for xml configuration to fetch data from storedProcedure,this may help...
  11. Replies
    1
    Views
    278

    Example for Springbatch with JPA

    Hi,
    I have implemented springbatch using jdbctemplate, now i want to use JPA instead of jdbctemplate
    Can i get example for JPA configuration

    Thanks in advance..
  12. Replies
    2
    Views
    390

    Thanks a lot minella:)

    Thanks a lot minella:)
  13. Replies
    2
    Views
    390

    Example for JdbcPagingItemReader

    Hi,
    I want to use JdbcPagingItemReader to read from db.
    can i get example for it..

    Thanks in advance..
  14. sorry, while posting xml i missed it,my problem...

    sorry, while posting xml i missed it,my problem was due to applicationContextxml not getting loaded completely.
    Thanks:)
  15. No, its not throwing any exception,i tried to run...

    No, its not throwing any exception,i tried to run in debug mode,its getting terminated soon after loading configuration context xml
    its not going to execute method of job

    my configuration xml is...
  16. No TaskExecutor has been set, defaulting to synchronous executor

    Hello,
    i am trying to run batch application through commandline job runner ,Its getting terminated and
    It is displaying as follows in console.. could you please help me out...Thank you in advance...
  17. thanks mminella, i missed returning null..its...

    thanks mminella, i missed returning null..its working fine now
  18. Infinite loop customreader-processor-customWriter

    Hi , I am new to spring batch ..., i am able to read data process it and write to file but this is happening for infinite times how to stop it where i m missin logic ...please help me out..thanks in...
  19. sorry for replying late....my problem solved, it...

    sorry for replying late....my problem solved, it was due to mistake in query i wrote..
  20. How to fix this : org/springframework/dao/DuplicateKeyException

    Hi,i am trying to update records in DataBase using spring batch
    I have customReader and customWriter classes to read and write to databse
    when i run job i am able to read from database but while...
  21. need example code of batch processing which fetches and updates data in Database

    Hi, I am new to spring batch processing .
    i need to fetch record from DB and update records.
    I need example code for the above use case using SpringJdbc.
    Thanks in advance.
Results 1 to 21 of 21