title: Infinite Recursive Loop While Using OnetoMany and ManytoOne Mapping (Bidirectional)
body: <p>In My Spring Boot Rest Application,I have Three Model Classes</p>
  
  <p><code>User</code>,
    <code>Business</code>,
    <code>Review</code>  </p>
  
  <p>User.java</p>
  
  <pre><code>@OneToMany(cascade = CascadeType.ALL, mappedBy = "partner",fetch = 
   FetchType.LAZY)
  private Set&lt;Business&gt; business;
  @OneToMany(fetch=FetchType.LAZY,cascade=CascadeType.ALL,mappedBy="user")
  private List&lt;Review&gt; reviews;
  </code></pre>
  
  <p>Business.java</p>
  
  <pre><code>@OneToMany(fetch=FetchType.LAZY,cascade=CascadeType.ALL,mappedBy="business")
  private List&lt;Review&gt; reviews;
  
      @JoinTable(name = "business_service",
              joinColumns = { @JoinColumn(name = "business_id_fk") },
              inverseJoinColumns = { @JoinColumn(name = "serviceIdFk") })
          private List&lt;ServiceVO&gt; services = new ArrayList&lt;ServiceVO&gt;();
  </code></pre>
  
  <p>Review.java</p>
  
  <pre><code>@ManyToOne(fetch = FetchType.LAZY)
  @JoinColumn(name = "businsessIdFk")
  private Business business;
  
  @ManyToOne(fetch = FetchType.LAZY)
  @JoinColumn(name = "addedBy", nullable = false)
  private User user;
  </code></pre>
  
  <p>When i try to find a business with a business_id via Repository ,I get an infinite Recursive Json List.
     I have to find User with user_id but there also same thing happens. </p>
  
  <p>Any help will be appreciated</p>
  
  <p>NB : i have already Used JsonIgnore as mentioned in an answer.it gets me another jackson binding error </p>
  
  <pre><code>   com.fasterxml.jackson.databind.exc.InvalidDefinitionException: No 
     serializer found for class 
     org.hibernate.proxy.pojo.bytebuddy.ByteBuddyInterceptor and no 
     properties discovered to create BeanSerializer (to avoid exception, 
     disable 
     SerializationFeature.FAIL_ON_EMPTY_BEANS) (through reference chain: 
     com.ovoox.model.Business["services"]- 
    &gt;org.hibernate.collection.internal.PersistentBag[0]- 
     com.ovoox.model.ServiceVO$HibernateProxy$
     TOMK9CML["hibernateLazyInitializer"])
  </code></pre>