title: JpaSystemException: could not extract ResultSet
body: <p>I'm getting the following exception on a <code>.save()</code> call in my Spring boot Application. I'm running Spring boot 2.2.5.RELEASE</p>
  <p>Stack trace was too big to be included here so I've shared it at <a href="https://elmah.io/tools/stack-trace-formatter/54799eced488405cb8c646938bab9847" rel="nofollow noreferrer">this link</a>.</p>
  <p>Here's the code:</p>
  <pre><code>Search search = new Search();
  
  // ......Build Search Object here
  
  searchRepository.save(search);
  
  public interface searchRepository
      extends BaseJpaRepository&lt;Search, Long&gt;, JpaSpecificationExecutor&lt;Search&gt; {
  
  }
  
  @Data
  @Entity
  @Table(name = &quot;search&quot;)
  @Cache(usage = CacheConcurrencyStrategy.NONSTRICT_READ_WRITE)
  public class Search extends AbstractAuditingEntity implements Serializable {
  
    @Id
    @GeneratedValue(strategy = GenerationType.AUTO)
    private Long id;
  
    @NotNull
    @Column(name = &quot;externalId&quot;)
    private Long externalId;
  
    @NotNull
    @Column(name = &quot;search_term&quot;)
    private String searchTerm;
  
    @NotNull
    @Column(name = &quot;filters&quot;)
    private String filters;
  
    @NotNull
    @Column(name = &quot;results&quot;)
    private Long results;
  
    @Override
    public int hashCode() {
      return id != null ? id.hashCode() : IntegerUtils.ANSWER_TO_LIFE_THE_UNIVERSE_AND_EVERYTHING;
    }
  }
  </code></pre>
  <p>I have ensured through debug mode on my IDE that all <code>@NotNull</code> fields do not contain Null. I have also added the following missing values in application.yml :</p>
  <pre><code>jpa:
     hibernate:
         naming:
             implicit-strategy: org.springframework.boot.orm.jpa.hibernate.SpringImplicitNamingStrategy
             physical-strategy: org.springframework.boot.orm.jpa.hibernate.SpringPhysicalNamingStrategy
  </code></pre>
  <p>Have looked at multiple other answers on stackoverflow, but none have anything regarding this error. I recently upgraded my spring boot and this error has been showing up since then. Moreover I am able to read/write to spring session table, so I am assuming that this is not a configuration issue?</p>
  <p>What am I doing wrong?</p>