Say I want to update entity A
which references B
but B
is a big entity.
If B
is not a cached entity (2nd-level), I normally do a getReference()
if I have access to B
's PK to avoid the extra SELECT
query.
Now if B
is cached (2nd-level), will getReference()
and find()
be identical?