Class ReferencesSequenceDAO
- java.lang.Object
-
- org.linuxforhealth.fhir.persistence.jdbc.dao.impl.ReferencesSequenceDAO
-
public class ReferencesSequenceDAO extends java.lang.Object
Handles the acquisition of sequence values from REFERENCES_SEQUENCE. For optimization, the sequence increments by a larger value, allowing us to allocate numbers without having to ask the database each time. This helps, because we assume each persistence operation will need to use a handful of values, and anything we can do to avoid database round-trips is a good thing
-
-
Constructor Summary
Constructors Constructor Description ReferencesSequenceDAO(java.sql.Connection c, java.lang.String schemaName, IDatabaseTranslator tx)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description long
nextValue()
Get the next value from the REFERENCES_SEQUENCE
-
-
-
Constructor Detail
-
ReferencesSequenceDAO
public ReferencesSequenceDAO(java.sql.Connection c, java.lang.String schemaName, IDatabaseTranslator tx)
-
-