| In case anyone else runs into this issue, it appears (for my application at least) that a simple workaround for the issue is to explicitly evict the entity being locked before issuing the lock, using entityManagerFactory.getCache().evict(class, primaryKey). |