title: @EmbeddedId : is not mapped as an embeddable
body: <p>I got an Eclipse error with : <code>@EmbeddedId</code>.</p>
  
  <p>This is the entity :</p>
  
  <pre><code>@Entity
  @Table(name = "PERSON")
  public class Person implements Serializable {
  
      @EmbeddedId
      private PersonPK PersonPK;
  
      @Column(name = "AGE")
      private int age;
  }
  </code></pre>
  
  <p>And the embeddable class :</p>
  
  <pre><code>@Embeddable
  public class PersonPK implements Serializable {
  
      @Column(name = "FIRSTNAME")
      private String firstName;
  
      @Column(name = "LASTNAME")
      private String lastName;
  
      public PersonPK() {
      }
  }
  </code></pre>
  
  <p>Eclipse show me this error : <code>PersonPK is not mapped as an embeddable</code></p>
  
  <p>Can you tell me why and how to fix that ?</p>