{"id":35187,"date":"2024-11-26T13:28:58","date_gmt":"2024-11-26T05:28:58","guid":{"rendered":"https:\/\/fwq.ai\/blog\/35187\/"},"modified":"2024-11-26T13:28:58","modified_gmt":"2024-11-26T05:28:58","slug":"jdbc-%e5%8f%af%e4%bb%a5%e8%bf%94%e5%9b%9e-hashmap-%e5%90%97%ef%bc%9f","status":"publish","type":"post","link":"https:\/\/fwq.ai\/blog\/35187\/","title":{"rendered":"JDBC \u53ef\u4ee5\u8fd4\u56de HashMap \u5417\uff1f"},"content":{"rendered":"<p><img decoding=\"async\" src=\"https:\/\/img.php.cn\/upload\/article\/001\/246\/273\/173063432028953.jpg\" class=\"aligncenter\" title=\"JDBC \u53ef\u4ee5\u8fd4\u56de HashMap \u5417\uff1f\u63d2\u56fe\" alt=\"JDBC \u53ef\u4ee5\u8fd4\u56de HashMap \u5417\uff1f\u63d2\u56fe\" \/><\/p>\n<p><strong>JDBC\u53ef\u4ee5\u8fd4\u56deHashMap\u5417\uff1f<\/strong><\/p>\n<p>\u5728Python\u4e2d\uff0c\u53ef\u4ee5\u4f7f\u7528py.cursors.DictCursor\u5c06\u67e5\u8be2\u5230\u7684\u7ed3\u679c\u96c6\u8f6c\u6362\u4e3a\u5b57\u5178\u7c7b\u578b\u3002\u90a3\u4e48\uff0cJava\u4e2d\u7684JDBC\u662f\u5426\u6709\u7c7b\u4f3c\u7684\u529f\u80fd\uff0c\u53ef\u4ee5\u901a\u8fc7\u8bbe\u7f6e\u67d0\u4e2a\u53c2\u6570\uff0c\u8ba9JDBC\u8fd4\u56deHashMap\uff1f<\/p>\n<p><strong>\u7b54\u6848\uff1a<\/strong><\/p>\n<p>JDBC\u8fd4\u56de\u7684\u6570\u636e\u7ed3\u6784\u662fResultSetRow\uff0c\u5b83\u4e0d\u80fd\u76f4\u63a5\u8f6c\u6362\u4e3aHashMap\u3002\u4f46\u662f\uff0c\u6211\u4eec\u53ef\u4ee5\u901a\u8fc7\u4f7f\u7528\u4ee3\u7406\u6216\u5176\u4ed6\u624b\u6bb5\u5c06ResultSetRow\u6570\u636e\u8f6c\u6362\u6210HashMap\u3002<\/p>\n<p>\u4ee5\u4e0a\u5c31\u662fJDBC \u53ef\u4ee5\u8fd4\u56de HashMap \u5417\uff1f\u7684\u8be6\u7ec6\u5185\u5bb9\uff0c\u66f4\u591a\u8bf7\u5173\u6ce8\u7c73\u4e91\u5176\u5b83\u76f8\u5173\u6587\u7ae0\uff01<\/p>\n","protected":false},"excerpt":{"rendered":"<p>JDBC\u53ef\u4ee5\u8fd4\u56deHashMap\u5417\uff1f \u5728Python\u4e2d\uff0c\u53ef\u4ee5\u4f7f\u7528py.cursors.DictCursor\u5c06\u67e5\u8be2\u5230\u7684\u7ed3\u679c\u96c6\u8f6c\u6362\u4e3a\u5b57\u5178\u7c7b\u578b\u3002\u90a3\u4e48\uff0cJava\u4e2d\u7684JDBC\u662f\u5426\u6709\u7c7b\u4f3c\u7684\u529f\u80fd\uff0c\u53ef\u4ee5\u901a\u8fc7\u8bbe\u7f6e\u67d0\u4e2a\u53c2\u6570\uff0c\u8ba9JDBC\u8fd4\u56deHashMap\uff1f \u7b54\u6848\uff1a JDBC\u8fd4\u56de\u7684\u6570\u636e\u7ed3\u6784\u662fResultSetRow\uff0c\u5b83\u4e0d\u80fd\u76f4\u63a5\u8f6c\u6362\u4e3aHashMap\u3002\u4f46\u662f\uff0c\u6211\u4eec\u53ef\u4ee5\u901a\u8fc7\u4f7f\u7528\u4ee3\u7406\u6216\u5176\u4ed6\u624b\u6bb5\u5c06ResultSetRow\u6570\u636e\u8f6c\u6362\u6210HashMap\u3002 \u4ee5\u4e0a\u5c31\u662fJDBC \u53ef\u4ee5\u8fd4\u56de HashMap \u5417\uff1f\u7684\u8be6\u7ec6\u5185\u5bb9\uff0c\u66f4\u591a\u8bf7\u5173\u6ce8\u7c73\u4e91\u5176\u5b83\u76f8\u5173\u6587\u7ae0\uff01<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[16],"tags":[],"class_list":["post-35187","post","type-post","status-publish","format-standard","hentry","category-16"],"_links":{"self":[{"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/posts\/35187","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/comments?post=35187"}],"version-history":[{"count":0,"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/posts\/35187\/revisions"}],"wp:attachment":[{"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/media?parent=35187"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/categories?post=35187"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/tags?post=35187"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}