Hi,
thanks for replying.
I've tried to put my config files into the /WEB-INF/config folder but it doesn't work. I tink there should be some property placeholder within my config file but I don't...
Type: Posts; User: fbcyborg; Keyword(s):
Hi,
thanks for replying.
I've tried to put my config files into the /WEB-INF/config folder but it doesn't work. I tink there should be some property placeholder within my config file but I don't...
Hello,
I need your help to understand why I am not able to load a spring bean because of the following error:
Caused by: java.io.FileNotFoundException: ServletContext resource...
Hello,
I have installed Websphere 6.1.0.43 and I am using a xml configuration file to load a context for my enterprise application.
I have defined a my.ws.variable variable into
Application...
Hello,
I have installed Websphere 6.1.0.43 and I am using a xml configuration file to load a context for my enterprise application.
I have defined a my.ws.variable variable into
Application...
Just a question: since I use a dataSource for JdbcTemplate, could you tell me how to not create and release the connection to the database for each item being processed? If my file has 3000 lines, I...
Thanks a lot! Clear. I think I've solved, since the batch seems to do just what I want! ;)
Hello,
I still have some doubt about how to setup the whole architecture of my job.
As I mentioned above, I need to perform these operations for each row of a file:
1) is implemented...
Perfect! Thank you so much. I will use the processor then. I've actually tried to use a sort of "stub" in the processor to set the field of my object, but I didn't know if there was a better way to...
Hello,
I am currently reading a lot of examples and documentation but I really don't understand how to solve the following problem.
SO far, I configured Spring Batch to read data from an input...
I don't understand what class to use in order to read a file with undelimited fields... it's a file having n rows, but it's not csv.
I see these classes in...
OK,
going to read the examples.
I was just wandering if a my File reader implementation would be necessary since I use regular expressions to parse data from the file itself.
:confused:
You are certainly right, but it's the first time I try to make something like that.
Could you drive me to do it without implementing my own ItemReader/Writer classes please?
I am...
Thanks for replying.
OK, you got the point. As a matter of facts I was thinking to do only one step.
These are the classes I am implementing:
1) FieldSetMapper class
2) Domain specific object...
Hello,
I would need to make a job with spring batch, where these three operations are needed for each line read from a file.
I have a file with n rows containing some information I want to...
Hi!
How can execute a sql script file (like create-tables.sql) using the connectionInitSqls?
I don't understand how to specify that the SQL code to be executed should be read inside a sql file....
Hi!
here's the reason why I implemented my own simple tasklets.
I've read something like this, somewhere else, that convinced me to create Tasklets:
(Resource)
So I thought that I could create...
Yes mate, the documentation is always helpful but sometime some doubt can arise, and this is my case, as you can see.
Thanks for the book suggestion, I'll have a look on it!
Cheers
The answer is: I don't know why. I'm learning spring batch, and I am performing some test.
The question now is: why should not implement my own tasklet? As far as I've understood, I have to...
Thanks a lot!
Understood!
It works to me too.
Thanks for replying.
So, as far as I understand, since I can only have only one root namespace, the problem is not resolvable, because if I change root namespace I will have the same problem with...
Hi,
could you provide the full example code please?
Hello,
I have some problem writing the xml configuration file for my spring batch test application.
This is the xml file:
<?xml version="1.0" encoding="UTF-8"?>
<beans...
No, because it throws a NullpointerException at this line:
ExecutionContext stepContext = this.stepExecution.getExecutionContext();
The call to getExecutionContext() fails, because the...
Hello,
I've already read this thread, but I'm still not able to pass an object from a step to another.
What I want to do is to get the "parameterName" variable value in Tasklet2 (step2), but I...