Hello,

I just noticed that if I call entityManager.find() to retrieve an
object, many select statements (one per relation) are generated even
though the relations are marked as FetchType.EAGER.

If I use a JPQL query instead, only one select statement is generated.
The JPQL looks like this: "SELECT s FROM Shape s WHERE s.id = :id"

Is that normal? Is there some configuration property that I can change?

Thanks in advance!

Christian

Reply via email to