• 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
refresh an enterprise object
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

refresh an enterprise object


  • Subject: refresh an enterprise object
  • From: Goh Keng Boon <email@hidden>
  • Date: Mon, 21 Jun 2004 22:09:16 +0800

Hi,

I got this custom enterprise object called "Product", there is a
relationship with another table called "Status", the relationship
called "ps"

if I do a aProduct.setStatus(new Double(1)) and ec.saveChanges(), the
"1" can be saved into my database, however when i want to travel
through the relationship, i got difficulty, as it is not defined.

For example : aProduct.ps().statusdisplay()

This happened because i'm not using
"addObjectToBothSidesOfRelationshipWithKey", although data is inserted
but the relationship
is not "declared" at this time. How can i refresh my aProduct (without
a fetch spec) so that I can travel through the relationship?

Thanks.
_______________________________________________
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.


  • Follow-Ups:
    • Re: refresh an enterprise object
      • From: Nathan Dumar <email@hidden>
  • Prev by Date: Re: logo in address bar
  • Next by Date: Re: NSMacOSRomanStringEncoding / Check your connection
  • Previous by thread: Re: Direct Actions
  • Next by thread: Re: refresh an enterprise object
  • Index(es):
    • Date
    • Thread