Skip to content

Latest commit

 

History

History
23 lines (16 loc) · 616 Bytes

File metadata and controls

23 lines (16 loc) · 616 Bytes

Id-Generator

Library that includes the models and repository necessary to support the NBS identifier generation defined by the getNextUid_sp stored procedure. Many database entities in NBS utilize the Local_UID_generator table to track their Ids. This library simplifies retrieving valid Ids from this table.

Usage

In your project's build.gradle file include:

implementation project(':id-generator')

There is a convenience annotation to make an IdGeneratorService available for injection in a Spring based project.

@EnableNBSIdGenerator
public class Application {
    ...
}