• 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: adding multiple objects in a relationship
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: adding multiple objects in a relationship


  • Subject: Re: adding multiple objects in a relationship
  • From: WebObjects <email@hidden>
  • Date: Sat, 18 Oct 2008 08:46:46 -0500

Yes it is my Join table, but I had to unflattened because it has important information, the creationDate when the employee registered the turns he wants to work at,....mm so, if I have a Join table like this, I must createandInsertInstacne () method of EmployeeTurn, for each Turn I have selected by the user... and if its just a Join table which is flattened then I can just do it using the addObjectsToBothSidesOfRelatoinShip method?... interesting... something new I have learned.



thx


Gus

On Oct 18, 2008, at 1:53 AM, Lachlan Deck wrote:

On 18/10/2008, at 5:30 PM, Johann Werner wrote:

does EmployeeTurn represent your join table? If not look at Lachlans suggestion, if you answer this question with yes you will need an EmployeeTurn object for each combination of Employee and Turn.
This would mean that you have to change your code:

Unless it's a flattened Many-to-Many.

with regards,
--

Lachlan Deck

_______________________________________________
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: 
 >adding multiple objects in a relationship (From: WebObjects <email@hidden>)
 >Re: adding multiple objects in a relationship (From: Johann Werner <email@hidden>)
 >Re: adding multiple objects in a relationship (From: Lachlan Deck <email@hidden>)

  • Prev by Date: Re: adding multiple objects in a relationship
  • Next by Date: Re: do you want to blow your mind?
  • Previous by thread: Re: adding multiple objects in a relationship
  • Next by thread: AjaxAccordion issue
  • Index(es):
    • Date
    • Thread