Wild guess: are you maybe just seeing the relationships being resolved? Or
is it really getting all objects, when you ask for one without prefetching
any relationships?

cug


On 20.08.08 08:38, "William Hatch" <[EMAIL PROTECTED]> wrote:

> I should also note that there are three separate select statements
> being generated; one for each of the concrete types; it's not one
> select with some OR's in the where. Not sure if that helps shed light
> on this. Thanks again.
> 
> On Aug 20, 2008, at 3:31 AM, William Hatch wrote:
> 
>> First project using EM and single table inheritance, I've got an
>> abstract base entity, with three concrete sub types, I'm putting a
>> qualifier in the Basic Tab's Qualifier field in the form of
>> (summaryRangeType="hour"), etc for each of the three types,
>> obviously with different values for each. The column used for
>> differentiating the types, "summaryRangeType" is a class property.
>> There are some reflexive relationships between the the three sub
>> types, which are always used, but not constrained as mandatory.
>> Fetches to one are resulting in generated sql to all three types, as
>> if I'm fetching on the abstract parent, which I'm not.  What am I
>> forgetting or not doing correctly in EM? Thanks.
>> 
>> 
>> Bill
>> 
>> 
>> 
>> 
>> _______________________________________________
>> Do not post admin requests to the list. They will be ignored.
>> Webobjects-dev mailing list      (Webobjects-dev@lists.apple.com)
>> Help/Unsubscribe/Update your Subscription:
>> http://lists.apple.com/mailman/options/webobjects-dev/wkhatch%40me.com
>> 
>> This email sent to [EMAIL PROTECTED]
> 
>  _______________________________________________
> Do not post admin requests to the list. They will be ignored.
> Webobjects-dev mailing list      (Webobjects-dev@lists.apple.com)
> Help/Unsubscribe/Update your Subscription:
> http://lists.apple.com/mailman/options/webobjects-dev/lists%40event-s.net
> 
> This email sent to [EMAIL PROTECTED]


 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]

Reply via email to