class JsonbTypeHandler extends JacksonTypeHandler {
    private static final PGobject jsonObject = new PGobject();

    public JsonbTypeHandler(Class<?> type) {
        super(type);
    }

    @Override
    public void setNonNullParameter(PreparedStatement ps, int i, Object parameter, JdbcType jdbcType) throws SQLException {<FILL_FUNCTION_BODY>}
}

        if (ps != null) {
            jsonObject.setType("jsonb");
            jsonObject.setValue(toJson(parameter));
            ps.setObject(i, jsonObject);
        }
    
<no_super_class>