Re: New data model creation

From: Andrus Adamchik (andru..bjectstyle.org)
Date: Wed Jul 14 2004 - 16:55:09 EDT

  • Next message: McBrayer, Roy: "RE: Newbie question on Cayenne error at runtime"

    Hi Jonathan, et al.

    Let me comment on this and other issues mentioned in this thread.

    1. CayenneModeler as a DB Admin tool.

    Main goal of the Modeler is to be an object relational *mapping* tool.
    So things not relevant for ORM may not be included. Indexes is one of
    them. Others are devices, segments, triggers, etc. So yes, you will
    need to use whatever other tool you prefer to do advanced DB
    administration.

    Having said that, the second goal of the Modeler is to be a quick
    prototyping tool, including the DB. As a result the line between what's
    relevant for ORM and what's not is somewhat blurred. The Modeler was
    designed as a platform to build as much DB admin stuff in it as needed
    (DB metadata is handled as a completely separate layer making it
    possible). So we will develop more of that stuff in the future, and
    will accept any meaningful contributions.

    2. Renaming DB Layer pieces.

    I am aware of the problem mentioned by Jürgen with renaming of the DB
    layer artifacts - basically it may require manual remapping of the
    affected object layer parts or using "Sync ObjEntity with DbEntity".
    The goal is to fix that while we are in beta.

    But please, pleASE, PLEASE, open bug reports when you encounter any
    such glitches! Tracking bugs in a project of such scale becomes a
    problem bigger than actually fixing them. Let us know and we'll fix it
    ;-)

    Cheers
    Andrus

    On Jul 14, 2004, at 3:56 PM, Jonathan Carlson wrote:

    > Thanks for your tips and encouragement. I hadn't thought of changing
    > db attributes via the XML file. If I want to add an index to a
    > dbAttribute, do I need to do it manually through SQL? It appears that
    > way, but I just wanted to verify that.
    >
    > The "Sync ObjEntity with DbEntity" feature is a real lifesaver (OK,
    > I'm exaggerating a little, but it really saves a lot of tedious
    > typing).
    >
    > Thanks again,
    >
    > Jonathan



    This archive was generated by hypermail 2.0.0 : Wed Jul 14 2004 - 16:55:12 EDT