Loading of entities by key can be done out of current transaction

Issue #10