Forgot to mention, this works fine with Spring 3.1.1
Type: Posts; User: pminearo; Keyword(s):
Forgot to mention, this works fine with Spring 3.1.1
I too am trying to upgrade Spring to 3.2.2 with Spring Batch 2.1.9; but I am unsuccessful so far. There seems to be an issue with using StaxEventItemWriter/Jibx/Woodstox. I am getting a...
Ahhh...figured it out....
<import resource="classpath*:/META-INF/test/**/*.xml"/>
I have found that using the import only allows for 1 JAR file to have that path. For Example:
SubModule1.jar
/META-INF/spring/test/module1-context.xml
SubModule2.jar...
Are there any examples of doing that?
Looks like there is an issue using MySQL as the DB with the Unit Tests. I downloaded the source code and did a 'mvn install'. I imported the project into Eclipse and ran the...
I looked at the Unit Tests and Configs used for the Unit Tests and the only difference I see is the Unit Test uses HSQLDB and I am using MySQL. Will download the source code and do a build. See if...
Correct, I copied and pasted JdbcExecutionContextDao into my own module. It is the exact same code with just a few extra logging statements.
The configs I use are in the previous post. This is a...
I forgot to mention I am using MySQL as the DB.
I am using Spring Batch 2.1.5.RELEASE and I am having a problem with ClassPathXmlApplicationFactory. It seems that it does not like wildcards in the resource path. The following config will not...
I think I have found a bug. I have been digging into this and have come across the fact that the JdbcExecutionContextDao is not saving information to the BATCH_JOB_EXECUTION_CONTEXT table. The only...
I also tried a test of Saving the JobExecutionContext via the ExeuctionContextDao. The JobExecutionContext does not seem to save to the DB. I see it in the BATCH_STEP_EXECUTION_CONTEXT table, but...
I have done some more digging and it seems the ExecutionContext within an ItemReader will save the information to the DB. HOWEVER, when you do:
...
This may have been answered before, but I did not see it.
How do you pass attributes between Steps? As an example, let's say you have a step that has a Tasklet that FTP's a compressed file from a...
I figured it out. You have to UN-JAR the spring-batch-core JAR file. Look under org/springframework/batch/core/ for schema-hsqldb.sql. Make sure this file is at the root of the classpath. For...
I am fairly new to Spring Batch. I was looking at the documentation on:
http://static.springsource.org/spring-batch/reference/html/testing.html
and
...
Shortly after I posted this I had a "Doh!" moment. I realized what I was doing wrong. If you look at the following snippet from my config, you will notice I am using the In-Memory Repository. ...
I am having an issue with executing a Job. I keep getting an IllegalArgumentException saying 'JobExecution must already be saved'.
- I have a MySQL DB set up and I used the DDL from...
Thanks! Sounds like this should be a feature add.
First, I am new to SpringBatch.
I have a requirement that at runtime; I want the ability to find the Available Jobs and the Job Parameters for the Job. I see how I can get the Available Jobs from...