with connections (EntityManagerFacroty) locking for processing