title: org.hibernate.PropertyAccessException: IllegalArgumentException occurred while calling setter of com.example
body: <p>I am facing with this issue. Not able to understand how to resolve it. can you guys help me resolve this.</p>
  
  <p>here is my code</p>
  
  <pre><code>@ManyToOne(fetch=FetchType.EAGER, targetEntity=BusinessType.class)
   @JoinColumn(name="typeid" , insertable = false,updatable = false)
   public Set&lt;BusinessType&gt; getBusinessType1() {
    return businessType1;
   }
  
   public void setBusinessType1(Set&lt;BusinessType&gt; businessType1) {
    this.businessType1 = businessType1;
   }
  </code></pre>
  
  <p>my error log:</p>
  
  <pre><code>org.hibernate.PropertyAccessException: IllegalArgumentException occurred while calling setter of com.saveDollar.model.DealPosted.businessType1
  </code></pre>
  
  <p>thanks for your replies in advance.</p>