Hi,
I want to know which is better approach,
1.Using jdbcCursorItemReader to call storedProcedure
OR
2. Using springBatch JPA with JPA Queries.
Type: Posts; User: sanjeev m; Keyword(s):
Hi,
I want to know which is better approach,
1.Using jdbcCursorItemReader to call storedProcedure
OR
2. Using springBatch JPA with JPA Queries.
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...
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...
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...
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>
...
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...
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
...
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">
...
Hi,
I am trying to read an xml file using staxEventitemReader but i am getting following exception
java.lang.IllegalArgumentException: Unknown Source type: class...
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...
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..
Thanks a lot minella:)
Hi,
I want to use JdbcPagingItemReader to read from db.
can i get example for it..
Thanks in advance..
sorry, while posting xml i missed it,my problem was due to applicationContextxml not getting loaded completely.
Thanks:)
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...
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...
thanks mminella, i missed returning null..its working fine now
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...
sorry for replying late....my problem solved, it was due to mistake in query i wrote..
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...
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.