RESOLVED - BATCH-831: id counter in MapJobInstanceDao should be declared static
This commit is contained in:
@@ -19,7 +19,7 @@ public class MapJobInstanceDao implements JobInstanceDao {
|
||||
|
||||
private static Collection<JobInstance> jobInstances = TransactionAwareProxyFactory.createTransactionalList();
|
||||
|
||||
private long currentId = 0;
|
||||
private static long currentId = 0;
|
||||
|
||||
public static void clear() {
|
||||
jobInstances.clear();
|
||||
|
||||
Reference in New Issue
Block a user