You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@isis.apache.org by "Andi Huber (Jira)" <ji...@apache.org> on 2022/02/11 10:35:00 UTC

[jira] [Closed] (ISIS-2956) [Metamodel] False positive when guarding against JDO Version Annotation Override

     [ https://issues.apache.org/jira/browse/ISIS-2956?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Andi Huber closed ISIS-2956.
----------------------------

> [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)