Uploaded image for project: 'Causeway'
  1. Causeway
  2. CAUSEWAY-2956

[Metamodel] False positive when guarding against JDO Version Annotation Override

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Resolved
    • None
    • 2.0.0-M7
    • Persistence JDO
    • None

    Description

      {{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 {

      Attachments

        Activity

          People

            hobrom Andi Huber
            hobrom Andi Huber
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: