Question about Spring Data JDBC + Hikari + Postgres JSONB
问题 I'm trying to build an API using Spring Boot Data JDBC with Postgres. I have a simple pojo that I wish to write to a table: public final class Test { private final String id; private final String definition; } The table has 2 columns, a varchar id column and a jsonb definition column. When using a simple CRUD repository to save the pojo, I get the following error. ERROR: column "definition" is of type jsonb but expression is of type character varying The solution for this would normally be to