[ 
https://issues.apache.org/jira/browse/ISIS-2956?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17490179#comment-17490179
 ] 

ASF subversion and git services commented on ISIS-2956:
-------------------------------------------------------

Commit 02fc351d704b938ba138335fc445de52b49cc820 in isis's branch 
refs/heads/master from Andi Huber
[ https://gitbox.apache.org/repos/asf?p=isis.git;h=02fc351 ]

ISIS-2956: fixes guard against JDO version annotation override

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

Reply via email to