title: JPA @Embeddable
body: <p>I am using @ElementCollection for a custom object list</p>
  
  <pre><code>@ElementCollection
  @CollectionTable(name = "choice", joinColumns = @JoinColumn(name = "itemId"))
  @OrderColumn(name = "index")
  private List&lt;Choice&gt; choices = new ArrayList&lt;Choice&gt;();
  </code></pre>
  
  <p>I have created a Choice class like this</p>
  
  <pre><code>//@Embeddable
  @Table(name = "choice")
  @Cacheable(false)
  @Audited
  public class Choice implements Serializable{
  </code></pre>
  
  <p>If I use @Embeddable annotation I am getting <code>org.hibernate.MappingException: Type not supported for auditing: org.hibernate.type.ComponentType</code></p>
  
  <p>I am new to JPA. Is there anything that I am missing?</p>