title: Failed to extract ResultSet
body: <p>I have this error with my Spring Data/JPA project:</p>
  
  <pre><code>SQL Error: -206, SQLState: 42703 
  DB2 SQL Error: SQLCODE=-206, SQLSTATE=42703, SQLERRMC=MYDONNEE0_.MYCONNEX_IDCON, DRIVER=4.19.26 
  SQL Error: -727, SQLState: 56098 
  DB2 SQL Error: SQLCODE=-727, SQLSTATE=56098, SQLERRMC=2;-206;42703;MYDONNEE0_.MYCONNEX_IDCON, DRIVER=4.19.26 
  SQL Error: -727, SQLState: 56098 
  DB2 SQL Error: SQLCODE=-727, SQLSTATE=56098, SQLERRMC=2;-206;42703;MYDONNEE0_.MYCONNEX_IDCON, DRIVER=4.19.26 
  Enter: my.package.test.web.rest.errors.ExceptionTranslator.processRuntimeException() with argument[s] = [org.springframework.http.converter.HttpMessageNotWritableException: Could not write content: could not extract ResultSet (through reference chain: my.package.test.repository.entity.MYconnex["MYdonnees"]); nested exception is com.fasterxml.jackson.databind.JsonMappingException: could not extract ResultSet (through reference chain: my.package.test.repository.entity.MYconnex["MYdonnees"])] 
  Exit: my.package.test.web.rest.errors.ExceptionTranslator.processRuntimeException() with result = &lt;500 Internal Server Error,my.package.test.web.rest.errors.ErrorDTO@70b511c1,{}&gt; 
  </code></pre>
  
  <p>I search, but i don't find a problem with my entity.</p>
  
  <p>MYconnex :</p>
  
  <pre><code>@Entity
  @NamedQuery(name="MYconnex.findAll", query="SELECT u FROM MYconnex u")
  public class MYconnex implements Serializable {
      private static final long serialVersionUID = 1L;
  
      @Id
      private long IDCON;
  
      private String key;
  
      private Timestamp dateconnex;
  
      private String mel;
  
      private int tel;
  
      //bi-directional many-to-one association to MYdonnees
      @OneToMany(mappedBy="MYconnex")
      private List&lt;MYdonnees&gt; MYdonnees;
  
      //Getter and setter
  }
  </code></pre>
  
  <p>MYdonnees : </p>
  
  <pre><code>@Entity
  @NamedQuery(name="MYdonnees.findAll", query="SELECT u FROM MYdonnees u")
  @Table(name="MYdonnees")
  public class MYdonnees implements Serializable {
      private static final long serialVersionUID = 1L;
  
      @Id
      private long idata;
  
      @Lob
      @Column(name="\"DATA\"")
      private String data;
  
      //bi-directional many-to-one association to MYconnex
      @ManyToOne
      private MYconnex MYconnex;
  
      public MYdonnees() {
      }
  
      //Getter and Setter
  
  }
  </code></pre>
  
  <p>My CrudRepository :</p>
  
  <pre><code>public interface ADRESSRepository extends CrudRepository&lt;ADRESS, Integer&gt; {
  }
  </code></pre>
  
  <p>The DataBase :</p>
  
  <p><a href="https://i.stack.imgur.com/iqLtt.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/iqLtt.png" alt="enter image description here"></a></p>
  
  <p>I think the problem come from the entity, but I can't find this problem.</p>