Re: Generalized DB editor

From: Kevin Menard (kmenar..ervprise.com)
Date: Sun Apr 13 2008 - 12:10:38 EDT

  • Next message: Andreas Bobek: "java.lang.ClassFormatError"

    Hi Scott,

    Have you considered using getTargetEntity on ObjRelationship?

    --
    Kevin

    On Apr 11, 2008, at 11:02 PM, Scott Anderson wrote:

    > Hello,
    >
    > I'm trying to write a generic editor for CayenneDataObjects.
    > ObjAttributes are pretty straightforward, but I'm not clear on the
    > best way to handle ObjRelationships. Basically, what I want to know
    > is how to take a ObjRelationship and turn it in to a Class<? extends
    > CayenneDataObjects> representing the target type's class.
    >
    > http://bnubot.googlecode.com/svn/trunk/BNUBot/src/net/bnubot/bot/gui/DatabaseEditor.java
    >
    > Thanks,
    > Scott



    This archive was generated by hypermail 2.0.0 : Sun Apr 13 2008 - 12:11:04 EDT