Caused by: org.postgresql.util.PSQLException: ERROR: column
"type_of_json" is of type json but expression is of type character
varying
ヒント: You will need to rewrite or cast the expression.
ポジション: 71
vendorCheck.setTypeOfJson(new MyJSON().setup("{\"sea\":
\"mystic\", \"land\": \"oneman\"}"));
// Caused by: org.postgresql.util.PSQLException: ERROR: column
// "type_of_json" is of type json but expression is of type
character varying
// hint: You will need to rewrite or cast the expression.
//vendorCheck.setTypeOfJson("{\"sea\": \"mystic\", \"land\": \"oneman\"}");
// ## Act ##
vendorCheckBhv.insert(vendorCheck);
// ## Assert ##
// Basically unsupported type on DBFlute
VendorCheckCB cb = new VendorCheckCB();
cb.query().setVendorCheckId_Equal(88881L);
VendorCheck actual = vendorCheckBhv.selectEntityWithDeletedCheck(cb);
MyJSON json = actual.getTypeOfJson();
assertEquals("{\"sea\": \"mystic\", \"land\": \"oneman\"}",
json.toString());
}