Description
I think that condition at the beginning of the lock function is wrong:
protected boolean lockEntity(Object entity, EntityManager entityManager) { if (!getEndpoint().isConsumeDelete() || !getEndpoint().isConsumeLockEntity()) { return true; } ...
If I wanna just select and then update entity I should set consumeDelete=false, but If so entity will newer be locked...