title: How to sort on embedded entity's property using Pageable?
body: <p>I'm having an entity embedded into another as shown below.
  The repository is created on the <code>DepEntity</code>.
  I am trying retrieve the <code>DepEntity</code> objects sorted on <code>totalExp</code> column
  in <code>ExpEntity</code>.
  I m making a GET call using Pageable and getting the error:</p>
  
  <blockquote>
    <p>2018-12-18 05:17:58.172  WARN 7 --- [http-nio-8000-exec-3] .m.m.a.ExceptionHandlerExceptionResolver : Resolved [org.springframework.data.mapping.PropertyReferenceException: No property totalExp found for type DepEntity!]</p>
  </blockquote>
  
  <p>I tried with <code>totalExp</code>, <code>exp.totalExp</code> and <code>exp_totalExp</code> and none of them worked. The spring data jpa version is 2.1.1</p>
  
  <pre><code>@Entity
  public class DepEntity {
      @Embedded
      private ExpEntity exp;
  }
  
  @Embeddable
  public class ExpEntity {
      @Column(name = "exp_total")
      private BigDecimal totalExp;
  }
  </code></pre>
  
  <p>I expect the results in sorted order on the nested property <code>totalExp</code>.
  Is there a way to achieve this?</p>