[OS-JIRA] Created: (WOL-823) EOModel verification: primary key propagation in to-many relationships may be valid in certain situations

From: Ralf Schuchardt (JIRA) ("Ralf)
Date: Mon Jun 02 2008 - 11:14:27 EDT

  • Next message: Miguel Arroz: "Problems generating SQL"

    EOModel verification: primary key propagation in to-many relationships may be valid in certain situations
    ---------------------------------------------------------------------------------------------------------

                     Key: WOL-823
                     URL: http://issues.objectstyle.org/jira/browse/WOL-823
                 Project: WOProject/WOLips
              Issue Type: Bug
              Components: wolips
        Affects Versions: WOLips 3.3.2.* (nightly build please specify)
             Environment: WOLips 3.3.5205
                Reporter: Ralf Schuchardt

    Entity Modeler checks to-many relationships for propagating their primary keys and flags an error in those cases ("The relationship relName is a to-many but also propagates its primary key.")
    But there may be valid situations for this modeling, e.g. when the target object has a compound primary key where the propagated PK is just a component.

    Example:

    Entity1 <-->> Entity2

    Entity1: nr integer primary key
    Entity2: {nr integer, pname varchar} primary key

    -- 
    This message is automatically generated by JIRA.
    -
    If you think it was sent incorrectly contact one of the administrators: http://issues.objectstyle.org/jira/secure/Administrators.jspa
    -
    For more information on JIRA, see: http://www.atlassian.com/software/jira
    



    This archive was generated by hypermail 2.0.0 : Mon Jun 02 2008 - 11:15:30 EDT