title: EclipseLink: Missing class for indicator field value of typ
body: <p>My application runs on Payara and provides a REST API but when I try to create an object with a POST request I get the following exception: </p>
  
  <pre><code>Exception [EclipseLink-43] (Eclipse Persistence Services - 2.6.0.payara-p1): org.eclipse.persistence.exceptions.DescriptorException
  Exception Description: Missing class for indicator field value [Miss] of type [class java.lang.String].
  Descriptor: XMLDescriptor(at.htl.handballinheritance.entity.Throw --&gt; [DatabaseTable(event), DatabaseTable(dataObject)])
    at org.eclipse.persistence.exceptions.DescriptorException.missingClassForIndicatorFieldValue(DescriptorException.java:940)
    at org.eclipse.persistence.internal.oxm.QNameInheritancePolicy.classFromRow(QNameInheritancePolicy.java:278)
    ...
  </code></pre>
  
  <p><a href="http://pastebin.ca/3195093" rel="noreferrer">Full Stacktrace</a></p>
  
  <p>On the contrary everything is fine and no errors occur when I am executing the program on Wildfly which uses Hibernate.</p>
  
  <p>Entities:</p>
  
  <pre><code>@Entity
  @Inheritance(strategy = InheritanceType.JOINED)
  @XmlRootElement
  public abstract class Event extends DataObject implements Serializable {
      ... 
  }
  
  @Entity
  public class Throw extends Event implements Serializable {
  
      @Enumerated(EnumType.STRING)
      @NotNull
      private ThrowingType type;
  
      ...
  }
  
  public enum ThrowingType {
      Goal, Miss
  }
  </code></pre>
  
  <p>REST API:</p>
  
  <pre><code>@POST
  public Response create(Throw entity) {
      em.persist(entity);
      return Response.created(URI.create("...")).build();
  }
  </code></pre>
  
  <p>I think that Eclipselink has problems to unmarshal my json. Do I need any additional annotation?</p>