• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Single Table Inheritance and Multiple Queries
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Single Table Inheritance and Multiple Queries


  • Subject: Re: Single Table Inheritance and Multiple Queries
  • From: Jon Nolan <email@hidden>
  • Date: Tue, 13 Jul 2010 10:05:12 -0600
  • Organization: Loch Garman

And all attributes across all entities match and use the exact same column names.

On 7/13/10 9:54 AM, Chuck Hill wrote:
Check that ALL of the entities in that hierarchy use the exact same table name.

Chuck

On Jul 13, 2010, at 7:51 AM, Jeffrey Simpson wrote:

WebObjects version = 5.4.3

I took a closer look.  It seems to be happening only on one Entity hierarchy.  It was real noticeable on that hierarchy since it was the most subclassed.  The other hierarchies seem to only query once.  Now I need to figure out why.




Jeffrey Simpson Senior Software Engineer Telephone: 240.235.2144 Fax: 240.235.2174

Youth For Understanding (YFU) prepares young people for their responsibilities and opportunities in a changing, interdependent world. email@hidden Jul 12, 2010, at 5:05 PM, Chuck Hill wrote:

Which version of WO?  I thought it would not do this if everything in the inheritance hierarchy was in the same table.


Chuck


On Jul 12, 2010, at 7:39 AM, Jeffrey Simpson wrote:

We have a number of entities that use single table inheritance.  When a relationship points to the parent entity it does a separate fetch for each child entity.  I know this is how the inheritance was designed originally.  Has anything been done so that it does on query and applies the qualifier in memory to determine the entity type?  I want to make sure I am no missing something.



Jeffrey Simpson
Senior Software Engineer
Telephone: 240.235.2144
Fax: 240.235.2174
email@hidden

Youth For Understanding (YFU) prepares young people for their responsibilities and opportunities in a changing, interdependent world.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden

-- Chuck Hill Senior Consultant / VP Development

Practical WebObjects - for developers who want to increase their overall knowledge of WebObjects or who are trying to solve specific problems.
http://www.global-village.net/products/practical_webobjects












_______________________________________________ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: This email sent to email@hidden

_______________________________________________ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: This email sent to email@hidden
References: 
 >Single Table Inheritance and Multiple Queries (From: Jeffrey Simpson <email@hidden>)
 >Re: Single Table Inheritance and Multiple Queries (From: Chuck Hill <email@hidden>)
 >Re: Single Table Inheritance and Multiple Queries (From: Jeffrey Simpson <email@hidden>)
 >Re: Single Table Inheritance and Multiple Queries (From: Chuck Hill <email@hidden>)

  • Prev by Date: Migrations in Production?
  • Next by Date: Re: Migrations in Production?
  • Previous by thread: Re: Single Table Inheritance and Multiple Queries
  • Next by thread: Re: Single Table Inheritance and Multiple Queries SOLVED
  • Index(es):
    • Date
    • Thread