mirror of
https://github.com/apache/openjpa.git
synced 2025-03-06 16:39:11 +00:00
OPENJPA-1726: fix intermittent failure in TestTimestampVersion. The next bulkUpdate timestamp version should be consistently generated as nextVersion method.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@965928 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
9166a7753a
commit
42b0b38815
@ -52,7 +52,7 @@ public class TimestampVersionStrategy
|
||||
public Map getBulkUpdateValues() {
|
||||
Column[] cols = vers.getColumns();
|
||||
Map map = new HashMap(cols.length);
|
||||
Date d = new Date();
|
||||
Object d = nextVersion(null);
|
||||
for (int i = 0; i < cols.length; i++)
|
||||
map.put(cols[i], d);
|
||||
return map;
|
||||
|
Loading…
x
Reference in New Issue
Block a user