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:
- table:<name>
- sequence:<name>[:<sequence-multiplier>:<global-multiplier>]
- Author:
- harald
-
Field Details
-
TABLE_BASED
table-based id source.- See Also:
-
SEQUENCE_BASED
sequence-based id source.- See Also:
-
-
Constructor Details
-
DefaultIdSourceConfigurator
public DefaultIdSourceConfigurator()Creates an IdSource configurator.
-
-
Method Details
-
configure
Description copied from interface:IdSourceConfigurator
Connect to the ID-Source.- Specified by:
configure
in interfaceIdSourceConfigurator
- Parameters:
db
- the sessionidConfig
- the configuration- Returns:
- the connected IdSource
-