[OS-JIRA] Created: (WOL-962) Warn on foreign key/primary key type mismatch in Entity Modeler

From: Michael Sharp (JIRA) ("Michael)
Date: Mon Jan 26 2009 - 19:15:28 EST

  • Next message: Chuck Hill: "Re: Which woproject.jar file to build WOLips 3.4.x via ant"

    Warn on foreign key/primary key type mismatch in Entity Modeler
    ---------------------------------------------------------------

                     Key: WOL-962
                     URL: http://issues.objectstyle.org/jira/browse/WOL-962
                 Project: WOProject/WOLips
              Issue Type: New Feature
              Components: wolips
                Reporter: Michael Sharp

    Wonder recently started throwing runtime exceptions in the case of a foreign key type not matching the target type, eg:

    "java.lang.RuntimeException: The attribute personId in Person (java.lang.Number, i) is a foreign key to personId in Role (java.lang.Number, l) but their class names or value types do not match. If this is actually OK, you can set er.extensions.ERXModelGroup. Person.personId.ignoreTypeMismatch=true in your Properties file"

    It would be helpful to have warnings raised in Entity Modeler to highlight these cases.

    -- 
    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 Jan 26 2009 - 19:16:05 EST