Skip to content

Config for "sequence.(name).start" dose not work. #4

Description

@chrono-k

Hi,

I have added "Annotation @SequenceEntity" on my class of "UniformIdentifier" to generate sequence. And I have set the "sequence.UniformIdentifier.start" and "sequence.UniformIdentifier.format" into Config.groovy to change the behavior of generating unique code.
The setting of "sequence.UniformIdentifier.format" works well.
But "sequence.UniformIdentifier.start" dose not work.

I debugged the source of "DefaultSequenceGenerator.groovy" and found out that the result of condition "if (start == null) {" were "false" in the method "create" in line 263. So the setting process under that condition will not be fired. I think it may be a bug.
Or there were something wrong in my usage?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions