Skip to content
This repository was archived by the owner on Feb 9, 2026. It is now read-only.
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion api-src/org/labkey/api/snd/SNDSequencer.java
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ public enum SNDSequencer

private String sequenceName;
private int minId;

SNDSequencer(String name, int id)
{
sequenceName = name;
Expand All @@ -41,7 +42,7 @@ private Integer generateId(Container c)
{
DbSequence sequence = DbSequenceManager.get(c, sequenceName);
sequence.ensureMinimum(minId);
return sequence.next();
return (int)sequence.next(); // Does SND require long IDs? That's what DbSequence generates.
}

public Integer ensureId(Container container, Integer id)
Expand Down