anchor.diff:  </dependencies>
   --
   
  -Finally add the relevant configuration properties in `{config-file}`.
  +Annotate your persistent objects with `@Entity`,
  +then add the relevant configuration properties in `{config-file}`.
   
   [source,properties]
   --
  
positive.code: </dependencies>
  --
  
  Then add your `persistence.xml` in `META-INF`
  
  [source,xml]
  --
  
negative.code:         em.persist(gift);
      }
  }
  
  //and of course our entity
  @Entity
  public class Gift {
      private Long id;
      private String name;
  
      @Id @GeneratedValue(strategy = GenerationType.SEQUENCE, generator="personSeq")
      public Long getId() {
          return id;
      }
  
      public void setId(Long id) {
          this.id = id;
      }
  
      public String getName() {
          return name;
      }
  
      public void setName(String name) {
          this.name = name;
      }
  }
  --
  
  <1> Inject your entity manager and have fun
  