| I confirm there is a change of behavior between 5.1 and 5.2. The attached test case is wrong, since it expects the flush mode to be COMMIT even though the @NamedQuery annotation sets it to MANUAL. But still, the resulting flush mode is MANUAL in 5.1, AUTO in 5.2 and 5.3, so the behavior changed. Working on a fix. |