[
https://issues.apache.org/jira/browse/ISIS-2956?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Andi Huber resolved ISIS-2956.
------------------------------
Resolution: Resolved
> [Metamodel] False positive when guarding against JDO Version Annotation
> Override
> --------------------------------------------------------------------------------
>
> Key: ISIS-2956
> URL: https://issues.apache.org/jira/browse/ISIS-2956
> Project: Isis
> Issue Type: Bug
> Components: Isis Persistence JDO
> Reporter: Andi Huber
> Assignee: Andi Huber
> Priority: Major
> Fix For: 2.0.0-M7
>
>
> {{domainapp.app.MyType: cannot have @Version annotated on this subclass and
> any of its supertypes; superclass: domainapp.app.TypeAbstract }}Code roughly
> looks like this and worked fine until the upgrade to the latest nightly (from
> M6.20220115 to M6.20220210):
> @javax.jdo.annotations.Version(strategy= VersionStrategy.DATE_TIME,
> column="version")
> public abstract class TypeAbstract {
> @javax.jdo.annotations.PersistenceCapable
> @javax.jdo.annotations.Inheritance(strategy=javax.jdo.annotations.InheritanceStrategy.NEW_TABLE)
> public class MyType extends TypeAbstract {
--
This message was sent by Atlassian Jira
(v8.20.1#820001)