spoon 输出表 column "***" is of type json but expression is of type charact

191 阅读1分钟

原因是该字段为jsonb类型 需要把json当做string存储就可以了
如果是使用jdbc的话需要添加stringtype=unspecified参数
jdbc:postgresql://127.0.0.1:5432/java?stringtype=unspecified
spoon中 需要 数据库连接-> 选项 添加 stringtype unspecified

Image.png