Search:

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

Search: Search took 0.02 seconds.

  1. Replies
    5
    Views
    329

    Forgot to mention, this works fine with Spring...

    Forgot to mention, this works fine with Spring 3.1.1
  2. Replies
    5
    Views
    329

    I too am trying to upgrade Spring to 3.2.2 with...

    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...
  3. Replies
    5
    Views
    2,466

    Ahhh...figured it out....

    Ahhh...figured it out....

    <import resource="classpath*:/META-INF/test/**/*.xml"/>
  4. Replies
    5
    Views
    2,466

    I have found that using the import only allows...

    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...
  5. Are there any examples of doing that?

    Are there any examples of doing that?
  6. Replies
    10
    Views
    2,432

    Looks like there is an issue using MySQL as the...

    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...
  7. Replies
    10
    Views
    2,432

    I looked at the Unit Tests and Configs used for...

    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...
  8. Replies
    10
    Views
    2,432

    Correct, I copied and pasted...

    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...
  9. Replies
    10
    Views
    2,432

    I forgot to mention I am using MySQL as the DB.

    I forgot to mention I am using MySQL as the DB.
  10. Wildcards do not work with ClassPathXmlApplicationContextFactory

    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...
  11. Replies
    10
    Views
    2,432

    I think I have found a bug. I have been digging...

    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...
  12. Replies
    10
    Views
    2,432

    I also tried a test of Saving the...

    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...
  13. Replies
    10
    Views
    2,432

    I have done some more digging and it seems the...

    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:
    ...
  14. Replies
    10
    Views
    2,432

    Passing Attributes/Parameters

    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...
  15. Replies
    3
    Views
    3,740

    I figured it out. You have to UN-JAR the...

    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...
  16. Replies
    3
    Views
    3,740

    Spring Batch Unit Testing with HSQL

    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
    ...
  17. Replies
    2
    Views
    1,307

    Shortly after I posted this I had a "Doh!"...

    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. ...
  18. Replies
    2
    Views
    1,307

    JobExecution must already be saved

    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...
  19. Replies
    3
    Views
    839

    Thanks! Sounds like this should be a feature add.

    Thanks! Sounds like this should be a feature add.
  20. Replies
    3
    Views
    839

    Getting JobParameters

    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...
Results 1 to 20 of 20