• 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: Deleting a lookup type object...
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Deleting a lookup type object...


  • Subject: Re: Deleting a lookup type object...
  • From: Chuck Hill <email@hidden>
  • Date: Thu, 10 Nov 2005 18:21:52 -0500


On Nov 10, 2005, at 1:17 PM, James Cicenia wrote:

Hello -

What is the most efficient way of nullifying the back pointing relationship from a lookup object?

For instance I have a table of potential callers. All tickets have a ticketcaller object that references
a caller object. However, I don't have a to-many relationship back to TicketCaller.


Do I have to do a fetch instead and then nullify? Or is there some great EOUtilities method I am missing.


Fetch then nullify is the safe thing to do to keep the object graph consistent (within that one instance/EOF stack). Otherwise, caring not a whit about object graph consistency, check out the EOAdaptorChannel method
public abstract int updateValuesInRowsDescribedByQualifier (NSDictionary row,
EOQualifier qualifier,
EOEntity entity)


Chuck


--
Coming in 2006 - an introduction to web applications using WebObjects and Xcode http://www.global-village.net/wointro


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
References: 
 >Deleting a lookup type object... (From: James Cicenia <email@hidden>)

  • Prev by Date: Re: WOActiveImage vs WOHyperlink [SOLVED]
  • Next by Date: Re: Help with stack trace from frozen application
  • Previous by thread: Deleting a lookup type object...
  • Next by thread: WebServices' WSDL with Undesired Host?
  • Index(es):
    • Date
    • Thread