Re: EntityModeler does not use EOModelGroup.defaultModelGroup() for SQL generation

From: Lachlan Deck (lachlan.dec..mail.com)
Date: Wed Jun 27 2007 - 18:00:04 EDT

  • Next message: Ken Anderson: "Subversion revision integration"

    On 28/06/2007, at 7:34 AM, Chuck Hill wrote:

    > On Jun 27, 2007, at 2:28 PM, Guido Neitzer wrote:
    >
    >> On 27.06.2007, at 15:17, Chuck Hill wrote:
    >>
    >>> I think Anjo was wrong. This is an out and out bug in EOF WRT
    >>> SQL generation for single table inheritance. Wonder fixes bugs
    >>> in EOF. What did Anjo not like about it?
    >>
    >> That the behaviour of EntityModeler would be different from the
    >> behaviour of the WebObjects SQL generation. I absolutely can't
    >> follow that argument as about every Wonder application behaves
    >> differently than a normal WebObjects application and this is a
    >> good thing - fixing what is broken. And that thing IS broken in my
    >> opinion.
    >
    > Answering both you and Mike: Yes, it _is_ a bug in EOF. Yes, it
    > should go back to Pierre.

    I've logged a bug for this already around the time of the vertical
    inheritance thread. (Pierre: #5219252, 22-May-2007 02:05 PM).

    > It has been broken since 4.01 IIRC. SQL generation for single
    > table inheritance is just broken. Hmmmm, IIRC, it is also broken
    > for the other ones too as it generates impossible FK constraints
    > when a relationship references an entity that can be in one of
    > several tables.

    Confirmed as noted before for vertical inheritance also.

    with regards,

    --
    

    Lachlan Deck



    This archive was generated by hypermail 2.0.0 : Wed Jun 27 2007 - 18:01:00 EDT