 1 | references in the persistence context (until commit or flush), regardless of this setting. Question |
 1 | ",
personID)
.executeUpdate();
em2
.flush();
em2
.clear();
tr
.commit |
 1 | intermediate flush operations with complete begin-commit transactions, then this indeed should work. btc_es |
 1 | returns after writing and flushing the transaction updates to the recovery file (the database file |
 1 | new objects of other transactions after flush (issue #2280). Fixed a bug in version 2.7.4 in |
 1 | .flush();
em.clear();
}
});
em.getTransaction().commit |
 1 | seems similar to issue #2280. After flush (by Thread B) a snapshot of the database is used for further queries (until build 2.7.4_04). btc_es |
 1 | . We can confirm that this is a bug. It could be related to flush changes in recent builds. We will try |