Commit d49302e9 authored by Fabien Viale's avatar Fabien Viale
Browse files

JobData : use allocationSize to avoid jobid gaps

parent d6842cc2
......@@ -342,7 +342,7 @@ public class JobData implements Serializable {
@Id
@GeneratedValue(strategy = GenerationType.SEQUENCE, generator = "JOBID_SEQUENCE")
@SequenceGenerator(name = "JOBID_SEQUENCE", sequenceName = "JOBID_SEQUENCE")
@SequenceGenerator(name = "JOBID_SEQUENCE", sequenceName = "JOBID_SEQUENCE", allocationSize = 1, initialValue = 1)
@Column(name = "ID")
public Long getId() {
return id;
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment