Re: Some Entity Modeler questions

From: womai..ac.com
Date: Wed Aug 30 2006 - 20:02:59 EDT

  • Next message: Mike Schrag: "Re: Some Entity Modeler questions"

    Thanks to you both!

    On Aug 30, 2006, at 6:03 AM, Mike Schrag wrote:

    >> - when I create a new attribute, whether by clicking the toolbar
    >> button or double-clicking in the Attribute pane, several
    >> attributes, including the new one, are left selected. This
    >> results in the Properties pane displaying "Properties are not
    >> available." I have to click on an empty attribute row, then on
    >> the new one, in order to get back into position for editing.
    > Odd this just doesn't happen for me. I remember Anjo mentioned
    > something like this before, but I can't recall exactly. Can you
    > email me a model that does this? Maybe it's just something about
    > the names in the model that are confusing the selection.

    I sent it, but I also discovered that after closing Eclipse for the
    first time since creating the model and re-running it, the problem
    went away. So maybe it has something to do with the model being
    newly created.

    >> - the External Type I enter always goes away after I select the
    >> Data Type, and I have to go back and re-enter it.
    > Fixed (committing now).

    Awesome.

    >> - when I create an attribute with a Data Type of Timestamp, there
    >> is a field for Server Timezone. What format is that expected in,
    >> and how does it handle daylight savings time?
    > Ugh. So this field is crazy-proprietary-NSTimeZone-format
    > ("America/New_York"). It SORT OF looks like java.util.TimeZone
    > format, but they're not 1:1, I don't think. I dropped this field
    > in at the last minute just to get full coverage of the file
    > format. I suspect if you leave it blank, it will be "local
    > timezone", but I'm going to be turning this into a pulldown.
    > Unfortunately the pulldown has like 600 entries in it.

    Oy. On the plus side, though, this format probably lets me not have
    to choose between PST and PDT. I just have to figure out which city
    it uses for Pacific time. Which brings me to another question - how
    do I access docs (say, to look up NSTimeZone) from Eclipse? I don't
    see anything in the menus or the toolbar for this.

    >> - when creating a to-one relationship, what is the Definition
    >> field for? And how do you enter the Source and Destination
    >> attributes? There doesn't seem to be any way to edit those fields
    >> in the Properties pane for the relationship.
    > Definitions are used for flattened relationships, so I THINK it
    > should be grayed out when you're editing a normal to-one? If you
    > were to flatten a relationship you would find that definition is
    > the keypath of the flattened relationship relative to the entity
    > the relationship is stored in.

    Nope, it's not greyed out, and I definitely have it marked as To One.

    > You add joins by selecting the destination entity, clicking the
    > "Add" button at the bottom, and then the attribute names are
    > editable in the table via a pulldown (if you click the "select
    > attribute" columns, you will get a pulldown editor). This UI was
    > an attempt to compress EOModeler's version of this same UI. I'm
    > open for suggestions is this is confusing.

    I think it would be clearer if the words "Select Attribute" contained
    the down triangle, so there was a visual clue to click there. As it
    is you click, then it goes blank with the triangle, you click the
    triangle and then the list appears. If you could compress that, so
    the triangle was there right after clicking the Add button and then
    the drop-down list appeared on the first click that would help, I think.

    I am not totally clear about the direction of the relationship. If I
    have these two entities:

    EntityA EntityB
    eoid eoid
    b_eoid stuff2
    stuff1

    and I want to join them so that entitya.b_eoid = entityb.eoid, which
    is the source and which is the destination?

    thanks again,

    janine



    This archive was generated by hypermail 2.0.0 : Wed Aug 30 2006 - 20:02:27 EDT