title: Join three entities using spring data
body: <p>i'm working with spring data in my project herers the entities:</p>
  
  <p>rr:</p>
  
  <pre><code>@Id
  @GeneratedValue( strategy = GenerationType.IDENTITY )
  private Long   id;
  private String model;
  
  @ManyToOne
  @JoinColumn( name = "owner" )
  private ffperson;
  private String constructor;
  //getters and setters
  </code></pre>
  
  <p>zaa:</p>
  
  <pre><code>@Id
  @GeneratedValue( strategy = GenerationType.IDENTITY )
  private Long   id;
  
  @Column( name = "name" )
  private String Name;
  //getters and setters
  </code></pre>
  
  <p>gff
      @Id
      @GeneratedValue( strategy = GenerationType.IDENTITY )
      private Long   id;</p>
  
  <pre><code>@Column( name = "lastname", unique = true )
  private String lastName;
  
  @Column( name = "firstname", unique = true )
  private String firstName;
  
  @Column( name = "birth_date", unique = true )
  private Date   dateOfBirth;
  </code></pre>
  
  <p>gfff:</p>
  
  <pre><code>@Id
  @GeneratedValue( strategy = GenerationType.IDENTITY )
  private Long   id;
  
  @ManyToOne
  @JoinColumn( name = "dog_id" )
  private ffdog;
  
  @ManyToOne
  @JoinColumn( name = "person_id" )
  private ffperson;
  </code></pre>
  
  <p>i want to write a query with spring data which can fetch all the persons with thier own dogs and cars..Can any body help please</p>