WO5.2 and and linking table with three attributes
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: Wed, 8 Jan 2003 09:16:50 +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.