sqlPersister

Description

Persists job state to a database. The database must have a table which can be created with the following sql.

 CREATE TABLE oddjob(
   prefix VARCHAR(20), 
   id VARCHAR(20), 
   job OBJECT, 
  CONSTRAINT oddjob_pk PRIMARY KEY (prefix, id))
 

Properties

NameDescriptionRequired
connection The connection to use. Yes.
prefix A prefix that can allow the same database to store many different instances of oddjob. No.

Example

See oddjob


(c) Rob Gordon 2005