Hi there,
I have problem with TopLink, because em.getReference is fetching data
from database the same way as em.find does. But sometimes, there is no
need to fetch entity, only reference is important, for example, to use
it as a foreign key in some query.
Is it a bug? Why em.getReference acts the same way as em.find?