Class DefaultIdSourceConfigurator

java.lang.Object
org.tentackle.dbms.DefaultIdSourceConfigurator
All Implemented Interfaces:
IdSourceConfigurator

@Service(IdSourceConfigurator.class) public class DefaultIdSourceConfigurator extends Object implements IdSourceConfigurator
Default IdSourceConfigurator.

There are 2 configuration options:

  1. table:<name>: an ObjectId counting in the given table
  2. sequence:<name>[:<sequence-multiplier>:<global-multiplier>]: an ObjectSequenceId on the given sequence
Without a configuration, the default is sequence:object_sequence_id if the backend supports sequences, otherwise table:object_id.
Author:
harald