• 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: Outer Join Question [solution]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Outer Join Question [solution]


  • Subject: Re: Outer Join Question [solution]
  • From: email@hidden
  • Date: Tue, 3 Jun 2003 17:18:46 -0400

Hello,

I solved this problem by creating a view in the database to compute the
totals for service reservations by day. Than, I used
EOFetchSpecification.setHints(new NSDictionary(request,
EODatabaseContext.CustomQueryExpressionHintKey)) to force it using a
raw SQL request that fetches Person data using my view.

Hoping this will help somebody,

Serge Froment
Informagique inc.

Le mardi, 29 avr 2003, ` 11:08 America/Montreal, email@hidden a
icrit :

> I have Person entities that offer Service entities, for which
> reservations can be arranged. When I create reservations, I update an
> Availability table so I can later found available Person for a given
> service at a given date. Each Availability record gives the number of
> seats available for a particular date and service. As availabilities
> are set only when a reservation is arranged, so I need to find all
> Person entities that have the needed number of seats available for a
> given date as well as all Person entities that have no Availability
> record for that date. The latter Persons have no reservation at all
> for that day, so they are fully available and should be fetched.
_______________________________________________
webobjects-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/webobjects-dev
Do not post admin requests to the list. They will be ignored.

  • Prev by Date: Re: Applets working with WebObjects 5.2
  • Next by Date: Re: Internal Data Type for BOOL
  • Previous by thread: RE: How should password be stored in Database?
  • Next by thread: webobjects5.2 and 3 dev books
  • Index(es):
    • Date
    • Thread