Skip to content

Commit

Permalink
merge dataset
Browse files Browse the repository at this point in the history
  • Loading branch information
qqmyers committed Oct 16, 2024
1 parent c2a8414 commit f18d569
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -432,7 +432,8 @@ public DatasetLock addDatasetLock(Dataset dataset, DatasetLock lock) {
dataset.addLock(lock);
lock.setStartTime( new Date() );
em.persist(lock);
//em.merge(dataset);
//Required for lock to be detected in other transactions
em.merge(dataset);
return lock;
}

Expand Down

0 comments on commit f18d569

Please sign in to comment.