Dean Des Rosiers
2002-09-27 15:44:02 UTC
I see that the collection returned by $table.oneRelationshipRoles is being
used for the CMR portion of the ejbCreate method that takes all columns.
This is problematic (for me, at least) as that collection contains
relationshipRoles that are not enabled.
This means that after I set certain relationships to unidirectional,
Middlegen still generates a method signature that takes these relationship
target objects as arguments, and in the implementation of the method, it
writes code that calls non-existent CMR-setter methods.
Somehow the oneRelationshipRoles collection needs to be filter out
non-enabled relationship roles.
Thanks,
Dean
used for the CMR portion of the ejbCreate method that takes all columns.
This is problematic (for me, at least) as that collection contains
relationshipRoles that are not enabled.
This means that after I set certain relationships to unidirectional,
Middlegen still generates a method signature that takes these relationship
target objects as arguments, and in the implementation of the method, it
writes code that calls non-existent CMR-setter methods.
Somehow the oneRelationshipRoles collection needs to be filter out
non-enabled relationship roles.
Thanks,
Dean