title: Limit depth in spring data jpa with hibernate and spring boot yaml configuration
body: <p>My web is built with spring boot, springMVC, spring data JPA and hibernate. I know hibernate has a config called <em>max_fetch_depth</em>. But I don't know how to config it in spring boot project with yaml format. I put it in application.yml as below:</p>
  
  <pre><code>spring:
    properties:
      hibernate.max-fetch-depth: 1
  </code></pre>
  
  <p>It seems doesn't work.
  Any idea for it? 
  Thanks!</p>