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?
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?