openjpa-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Pinaki Poddar <ppod...@apache.org>
Subject Re: FetchGroups and Embeddable Fields
Date Wed, 23 Dec 2009 14:21:47 GMT

> Are their any restrictions, constraints, or other complications that anyone
is aware of?
Nothing specific comes to mind. Are you seeing any anomaly w.r.t. embedded
fields in a fetch plan?
 

StevenK wrote:
> 
> I am trying to optomize a query by using fetch groups.  One of the fields
> I'd like to include in the group is an embedded entity.  When I turn sql
> tracing on, run my query, and then display the value of the fields that
> were returned, I can see that the non-embedded fields in my entry display
> without additional selects from the database - which is exactly what I
> expect.  The embedded fields however generate a select to the database to
> get their contents - which I am trying to avoid by including those fields
> in the fetch group.  Has anyone else worked with fetch groups and embedded
> fields?  Are their any restrictions, constraints, or other complications
> that anyone is aware of?
> 
> Thanks!
> 


-----
Pinaki 
-- 
View this message in context: http://n2.nabble.com/FetchGroups-and-Embeddable-Fields-tp4200062p4208800.html
Sent from the OpenJPA Users mailing list archive at Nabble.com.

Mime
View raw message