Class JobRepositoryTestUtils

  • All Implemented Interfaces:
    org.springframework.beans.factory.InitializingBean

    public class JobRepositoryTestUtils
    extends AbstractJdbcBatchMetadataDao
    implements org.springframework.beans.factory.InitializingBean
    Convenience class for creating and removing JobExecution instances from a database. Typical usage in test case would be to create instances before a transaction, save the result, and then use it to remove them after the transaction.
    Author:
    Dave Syer, Mahmoud Ben Hassine