Class PersistenceImpl

java.lang.Object
com.caplin.transformer.module.persistence.PersistenceImpl
All Implemented Interfaces:
Persistence

public class PersistenceImpl extends Object implements Persistence

Class that provides access to the Transformer persistence service.

If a module uses the persistence service any data persisted is saved over restarts of Transformer and is also available on multiple Transformers is they are clustered together. In order for this persistence API to work properly, the following table needs to exist in the database the persistence service is configured to connect to:

CREATE TABLE if not exists TF_LEGACY_PERSISTENCE (
  JTM_KEY TEXT PRIMARY KEY NOT NULL
  JTM_VALUE TEXT
 );