Can you post the selects that you're seeing and the domain model?
Thanks, -Patrick On 7/24/07, Christian Defoy <[EMAIL PROTECTED]> wrote:
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
-- Patrick Linskey 202 669 5907
