[ https://issues.apache.org/jira/browse/CAY-2082?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Nikita Timofeev closed CAY-2082. -------------------------------- Resolution: Fixed Fix Version/s: 4.0.M6 The actual problem that both attributes (in parent and in child) are left there and there is no way to delete attribute in a child entity as it is hidden. Warning about this attributes is added by the fix as well as suggestion to delete it. > 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 > Assignee: Nikita Timofeev > Priority: Minor > Fix For: 4.0.M6 > > > 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.15#6346)