org.postgresql.util.PSQLException: 错误: 字段 "item" 的类型为 json, 但表达式的类型为 character varying
-
@TableName(autoResultMap = true)
-
@TableField(value = "item",typeHandler = FastjsonTypeHandler.class) private Object item;
- 数据库连接地址后拼上 stringtype=unspecified
jdbc:postgresql://127.0.0.1:5432/xxxx?stringtype=unspecified