Commit d55512b0 by HlQ

[chg] 修改josnb字段类型处理器

1 parent 37a0b8bc
......@@ -25,7 +25,7 @@ public class JsonbTypeHandler extends JacksonTypeHandler {
if (ps != null) {
PGobject jsonObject = new PGobject();
jsonObject.setType("jsonb");
jsonObject.setValue(toJson(parameter));
jsonObject.setValue((String) parameter);
ps.setObject(i, jsonObject);
}
}
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!