Re: DbRelationship and FK_NAME

From: Andrus Adamchik (andru..bjectstyle.org)
Date: Wed Dec 19 2007 - 06:36:03 EST

  • Next message: Tore Halset: "Re: DbRelationship and FK_NAME"

    Hmm... I thought FK_NAME was a column name of the FK?

    Andrus

    On Dec 19, 2007, at 1:23 PM, Tore Halset wrote:

    > On Dec 19, 2007, at 12:02 , Andrus Adamchik wrote:
    >
    >> Oh wait! FK_NAME is also available from a join right? (I was
    >> thinking about "FK constraint name" when I sent my last email).
    >
    > Currently cayenne does not know the FK_NAME as it is not needed. It
    > is only needed to drop the FK by the merger. And, this name is
    > typically generated by the db (if you do not specify it upon create).
    >
    >> Yeah, let's probably use a non-public subclass if you need to store
    >> extra info during a DbLoader run.
    >
    > Yes, I will create a subclass. Must probably be public as the
    > DbLoader and the DbMerger exist in different packages or what?
    >
    > Regards,
    > - Tore.
    >
    >



    This archive was generated by hypermail 2.0.0 : Wed Dec 19 2007 - 06:37:05 EST