Uploaded image for project: 'Tools (JBoss Tools)'
  1. Tools (JBoss Tools)
  2. JBIDE-2040

JPA Validator signs that Entity "EntityName" has no Id or EmbeddedId when that class extends another Entity Class with @Id defined on Super Class

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Obsolete
    • Icon: Major Major
    • LATER
    • 2.0.1
    • upstream
    • None
    • Eclipse 3.3.2 with Jboss Tools 2.0.1GA

      @Entity
      public class Person extends BaseEntity{
      // other properties
      }

      @MappedSuperclass
      public abstract class BaseEntity implements Serializable {

      @Id
      private Long id;

      //Getters and Setters
      }

      Eclipse JPA Validator shows: Entity "Person" has no Id or EmbeddedId

              Unassigned Unassigned
              rafabene_jira Rafael Benevides (Inactive)
              Votes:
              8 Vote for this issue
              Watchers:
              7 Start watching this issue

                Created:
                Updated:
                Resolved: