title: How to read/write postgres jsonb type with spring-data-jdbc?
body: <p>I'm trying to use the following with spring-data-jdbc and postgres driver (kotlin),</p>
  <pre class="lang-kotlin prettyprint-override"><code>data class MyEntity(
    val id: UUID,
    val content: String
  )
  </code></pre>
  <p>using a string fails with the following error,</p>
  <pre><code>org.postgresql.util.PSQLException: ERROR: column &quot;content&quot; is of type jsonb but expression is of type character varying
    Hint: You will need to rewrite or cast the expression.
    Position: 31
  </code></pre>
  <p>I'm not sure how I can use the converter for String -&gt; jsonb</p>