Oops! I omitted a rather important detail. I added
getManyRelationshipRoles so there is both a one and a many:
// This existed
public Collection getOneRelationshipRoles() {
return getRelationshipRoles(middlegen.predicates.relation.TargetOne.getInstance()); } // This was added
public Collection getManyRelationshipRoles() {
return getRelationshipRoles(middlegen.predicates.relation.TargetMany.getInstance()); } When iterating of the filtered result there is no column map on the
"target" role. Iterating over all of them and then testing for "many" works fine
but should these not be equivalent?
(P.S. getting this email through outlook web access and do not see a
plain text setting)
-----Original Message-----
From: Aslak Hellesøy [mailto:[EMAIL PROTECTED]] Sent: Sun 12/8/2002 11:05 AM To: Rod Macpherson; [EMAIL PROTECTED] Cc: Subject: RE: [Middlegen-user] Getting Foreign Key from RelationshipRole
|
Title: RE: [Middlegen-user] Getting Foreign Key from RelationshipRole
- [Middlegen-user] Getting Foreign Key from Relationship... Rod Macpherson
- RE: [Middlegen-user] Getting Foreign Key from Rel... Aslak Hellesøy
- RE: [Middlegen-user] Getting Foreign Key from Rel... Rod Macpherson
- RE: [Middlegen-user] Getting Foreign Key from Rel... Rod Macpherson