[ https://issues.apache.org/jira/browse/CAY-2082?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15974501#comment-15974501 ]
ASF GitHub Bot commented on CAY-2082: ------------------------------------- GitHub user nismooooooo opened a pull request: https://github.com/apache/cayenne/pull/202 CAY-2082 Modeler generates incorrect underscore class with inheritance You can merge this pull request into a Git repository by running: $ git pull https://github.com/nismooooooo/cayenne CAY--2082 Alternatively you can review and apply these changes as the patch at: https://github.com/apache/cayenne/pull/202.patch To close this pull request, make a commit to your master/trunk branch with (at least) the following in the commit message: This closes #202 ---- commit 821d730e5f0b738de9f22c4d67fd65468baad68e Author: Anton Dreka <drek...@gmail.com> Date: 2017-04-19T11:51:54Z CAY-2082 Modeler generates incorrect underscore class with inheritance ---- > 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 > > 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)