• 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
WO5.2 and and linking table with three attributes
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

WO5.2 and and linking table with three attributes


  • Subject: WO5.2 and and linking table with three attributes
  • From: Kaj Hejer <email@hidden>
  • Date: Tue, 24 Dec 2002 23:45:46 +0100

Hi!

WO5.1 didn't like flattend relationship with linking table with three
attributes (the two keys and one or more extra attributes) when using the
default implementation of addToFlattenedRelationship and
removeFromFlattenedRelationship from EOModeler.

In WO5.2 there are some new methods for managing toMany relationships and
these new methods seems to work fine with flattend relationship with
linking table with three attributes. I have so far only tested this for one
WO app.

The code from EOModeler looks like

    public void addToFlattenedRelationship (EOGenericRecord object) {
        includeObjectIntoPropertyWithKey(object, "toMany");
    }

    public void removeFromFlattenedRelationship (EOGenericRecord object) {
        excludeObjectFromPropertyWithKey(object, "toMany");
    }


Can anybody confirm that the new api work fine when using flattend
relationship with linking table with three attributes?


-Kaj :)
_______________________________________________
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: NullPointerException Errors?
  • Next by Date: Debugging WO projects using latest Project Builder
  • Previous by thread: NullPointerException Errors?
  • Next by thread: Debugging WO projects using latest Project Builder
  • Index(es):
    • Date
    • Thread