cayenne-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Marcin Skladaniec (JIRA)" <j...@apache.org>
Subject [jira] Created: (CAY-1179) improve object attribute validation for entities with inheritance
Date Wed, 04 Feb 2009 06:11:46 GMT
improve object attribute validation for entities with inheritance
-----------------------------------------------------------------

                 Key: CAY-1179
                 URL: https://issues.apache.org/cayenne/browse/CAY-1179
             Project: Cayenne
          Issue Type: Improvement
          Components: CayenneModeler GUI
    Affects Versions: 3.0M5
         Environment: any
            Reporter: Marcin Skladaniec
            Priority: Minor


Scenario:
A model utilising inheritance is created. One of the object attributes is defined in the subclass.
If one then presses the 'update from dbEntity' button the attribute will be assigned to the
superclass as well. This leads to runtime errors once the application is built.

Example can be found in the unit testing model called "multi-tier", if one goes to MtTable1
ObjEntity and presses the update button there the tests wont succeed.




-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message