cayenne-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ken Anderson (JIRA)" <j...@apache.org>
Subject [jira] [Created] (CAY-2082) Modeler generates incorrect underscore class with inheritance
Date Tue, 03 May 2016 20:20:12 GMT
Ken Anderson created CAY-2082:
---------------------------------

             Summary: Modeler generates incorrect underscore class with inheritance
                 Key: CAY-2082
                 URL: https://issues.apache.org/jira/browse/CAY-2082
             Project: Cayenne
          Issue Type: Bug
          Components: Modeler
    Affects Versions: 4.0.M3
            Reporter: Ken Anderson
            Priority: Minor


The modeler generates the wrong type data in the underscore class of the sub entity in the
following scenario:

1.  Create a single table with an inheritance tree
2.  Add an attribute to the sub entity with a type java.util.Date
3.  Move the attribute to the super entity
4.  Change the java type in the super entity to org.joda.time.LocalDate

When generating the sub entity, the underscore class will still have java.util.Date as the
type, even though the modeler is showing the inherited type (org.joda.time.LocalDate) from
the super entity.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message