[
https://issues.apache.org/jira/browse/OPENJPA-1720?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12886000#action_12886000
]
Howard commented on OPENJPA-1720:
---------------------------------
Summary of jpa_test.zip reproduce case
// MappingTool schemaAction build is ok; m_ver column is generated
@Entity
public class Flat {
@Version
private int m_ver;
@Id
private int m_id;
}
@Entity
@Inheritance(strategy=InheritanceType.JOINED)
public abstract class Parent {
@Id
private int m_id;
}
// MappingTool schemaAction build is bad; m_ver column is *not* generated
@Entity
public class Child extends Parent {
@Version
private int m_ver;
private int m_val;
}
> MappingTool does not add version column for subclass
> ----------------------------------------------------
>
> Key: OPENJPA-1720
> URL: https://issues.apache.org/jira/browse/OPENJPA-1720
> Project: OpenJPA
> Issue Type: Bug
> Affects Versions: 2.0.0
> Reporter: Howard
> Attachments: jpa_test.zip
>
>
> MappingTool does not add version column for subclass
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.