{"id":230024,"date":"2020-12-19T11:14:24","date_gmt":"2020-12-19T03:14:24","guid":{"rendered":"http:\/\/4563.org\/?p=230024"},"modified":"2020-12-19T11:14:24","modified_gmt":"2020-12-19T03:14:24","slug":"%e6%9c%89%e5%85%b3-mybatis-%e7%9a%84-callsettersonnulls-%e6%97%a0%e6%95%88%e7%9a%84%e9%97%ae%e9%a2%98%ef%bc%8c%e8%af%b7%e6%95%99%e5%90%84%e4%bd%8d","status":"publish","type":"post","link":"http:\/\/4563.org\/?p=230024","title":{"rendered":"\u6709\u5173 mybatis \u7684 callSettersOnNulls \u65e0\u6548\u7684\u95ee\u9898\uff0c\u8bf7\u6559\u5404\u4f4d"},"content":{"rendered":"<div>\n<div>\n<div>\n<h1>                  \u6709\u5173 mybatis \u7684 callSettersOnNulls \u65e0\u6548\u7684\u95ee\u9898\uff0c\u8bf7\u6559\u5404\u4f4d               <\/h1>\n<p> <\/p>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : hytex <\/span>  <span><i><\/i> 12<\/span> <\/div>\n<div> <\/div>\n<\/p><\/div>\n<\/p><\/div>\n<\/p><\/div>\n<div isfirst=\"1\"> <\/p>\n<p>\u6b64\u914d\u7f6e\u662f\u4e3a\u4e86\u5728 mybatis \u4e2d\uff0c\u5f53\u67e5\u8be2\u7684\u503c\u4e3a null\uff0c\u4e14\u8fd4\u56de\u7684\u7c7b\u578b\u4e3a map \u7684\u65f6\u5019\uff0c\u81ea\u52a8\u586b\u5145 key\uff0cvalue \u4e3a null \u3002 \u6211\u4f7f\u7528\u4e86\u8fd9\u4e2a\u914d\u7f6e\uff0c\u5c45\u7136\u65e0\u6548\uff0c\u5bfc\u81f4\u6574\u4e2a map \u4e3a null\uff0c\u5728\u767e\u5ea6\u548c Google \u4e86\u5404\u79cd\u56de\u7b54\u4e4b\u540e\uff0c\u4ecd\u6ca1\u529e\u6cd5\u89e3\u51b3\uff0c\u6545\u5230\u6b64\u8bf7\u6559\u4e0b\u5404\u4f4d\uff0c\u4ee5\u524d\u662f\u5426\u6709\u51fa\u73b0\u8fc7\u8fd9\u79cd\u95ee\u9898\uff0c\u65b9\u4fbf\u8bf4\u4e0b\u600e\u4e48\u89e3\u51b3\u7684\u4e48\u3002<\/p>\n<p>springboot \u7248\u672c\u4e3a 2.1.9 mybatis \u7248\u672c\u4e3a 3.5.4 \uff08\u770b\u4e86\u8c8c\u4f3c 3.2 \u4e4b\u540e\u90fd\u652f\u6301\u81ea\u52a8\u586b\u5145 null \u7684 key \uff09<\/p>\n<p>PS: \u9a7c\u5cf0\u6ce8\u89e3\u6709\u7528\uff0c\u8bf4\u660e\u914d\u7f6e\u6587\u4ef6\u662f\u8bfb\u53d6\u5230\u4e86\u7684\u3002<\/p>\n<\/p><\/div>\n<div> <b>\u5927\u4f6c\u6709\u8a71\u8aaa<\/b> (<span>0<\/span>)        <\/div>\n<div> <\/div>\n<\/p><\/div>\n<\/p><\/div>\n<ul>\n<li>\n","protected":false},"excerpt":{"rendered":"<p>\u6709\u5173 mybatis \u7684 call&hellip;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[],"tags":[],"_links":{"self":[{"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/posts\/230024"}],"collection":[{"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=230024"}],"version-history":[{"count":0,"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/posts\/230024\/revisions"}],"wp:attachment":[{"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=230024"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=230024"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=230024"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}