Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
ProActive
scheduling
Commits
d49302e9
Commit
d49302e9
authored
May 12, 2020
by
Fabien Viale
Browse files
JobData : use allocationSize to avoid jobid gaps
parent
d6842cc2
Changes
1
Hide whitespace changes
Inline
Side-by-side
scheduler/scheduler-server/src/main/java/org/ow2/proactive/scheduler/core/db/JobData.java
View file @
d49302e9
...
...
@@ -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
;
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment