On Apr 14, 2008, at 6:51 PM, Scott Anderson wrote:

Looks like a cast to ObjEntity is in order. Out of curiosity, is there a reason that ObjRelationship.getTargetEntity() returns an Entity and not
an ObjEntity? The JavaDoc seems to indicate it always returns an
ObjEntity.

Poor choice of inheritance (ObjRelationship and DbRelationship both inherit from a common superclass).

Andrus

Reply via email to