title: PSQLException: ERROR: operator does not exist: character varying = uuid
body: <p>I have this repository:</p>
  <pre><code>@Repository
  public interface DomainRepository extends CrudRepository&lt;Domain, String&gt; {
      Domain findByUuid(UUID uuid);
  }
  </code></pre>
  <p>I have this entity:</p>
  <pre><code>@Entity
  @Data
  @AllArgsConstructor
  @NoArgsConstructor
  @Table(name=&quot;a&quot;, schema=&quot;b&quot;)
  public class Domain {
      @Id
      private String id;
      private UUID uuid;
  
  }
  </code></pre>
  <p>But when I do
  <code>Domain d = domainRepository.findByUuid(UUID.randomUUID());</code></p>
  <p>I get <code>PSQLException: ERROR: operator does not exist: character varying = uuid</code> (column type in table is <code>VARCHAR</code>).</p>
  <p>How to fix this?</p>