title: Validation Not Working on Nested Objects in Play Framework 2
body: <p>I'm using the Constraint annotations for validating my objects in Play! framework 2.  It works fine for top level objects, but not nested ones.  How do I get my nested object validation annotations to work?</p>
  
  <p>Event: The top level object I am saving.</p>
  
  <pre><code>@Entity
  public class Event {
  
      @Required
      public String name;
  
      @OneToMany(cascade = CascadeType.ALL)
      public List&lt;Option&gt; options;
  
      ...
  }
  </code></pre>
  
  <p>Option: The nested object.  Its not validating the name property.</p>
  
  <pre><code>@Entity
  public class Option {
  
      @Required
      public String name;
  
      ...
  }
  </code></pre>