{"id":330,"date":"2005-03-29T01:00:00","date_gmt":"2005-03-28T16:00:00","guid":{"rendered":"https:\/\/ecoop.net\/memo\/2005-03-29-1.html"},"modified":"2005-03-29T01:00:00","modified_gmt":"2005-03-28T16:00:00","slug":"2005-03-29-1","status":"publish","type":"post","link":"https:\/\/www.ecoop.net\/memo\/archives\/2005-03-29-1.html","title":{"rendered":"DAO \u30d1\u30bf\u30fc\u30f3"},"content":{"rendered":"<p>\n&#8211; <a href=\"http:\/\/java.sun.com\/blueprints\/corej2eepatterns\/Patterns\/DataAccessObject.html\">Core J2EE Patterns &#8211; Data Access Object<\/a><br \/>\n\u30c7\u30fc\u30bf\u30bd\u30fc\u30b9\u3084\u88fd\u54c1\u4f9d\u5b58\u306e\u51e6\u7406\u3092\u96a0\u853d\u3057\u3066\u3001\u4f8b\u3048\u3070\u30c6\u30fc\u30d6\u30eb\u5358\u4f4d\u3067\u30a2\u30af\u30bb\u30b9\u7528\u306e API \u3092\u4f5c\u308a\u3001insert, delete, find, update \u306a\u3069\u5fc5\u8981\u306a\u51e6\u7406\u306f\u30a4\u30f3\u30bf\u30fc\u30d5\u30a7\u30a4\u30b9\u306b\u3057\u3066\u3001\u305d\u308c\u3092\u5b9f\u88c5\u3059\u308b\u3002\u8907\u6570\u306e\u5f62\u5f0f\u306b\u5bfe\u5fdc\u3059\u308b\u306b\u306f\u3053\u306e DAO \u30a4\u30f3\u30bf\u30fc\u30d5\u30a7\u30a4\u30b9\u3092\u5b9f\u88c5\u3059\u308c\u3070\u3044\u3044\u3060\u3051\u306a\u306e\u304c\u30e1\u30ea\u30c3\u30c8\u3002<br \/>\n&nbsp;<br \/>\nDAO \u3060\u3051\u3067\u306a\u304f\u3001\u30b7\u30ea\u30a2\u30eb\u5316\u53ef\u80fd\u306a\u5024\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u306e\u3001 Transfer Object \u3082\u7528\u610f\u3057\u3066\u304a\u3051\u3070\u3001DAO \u3068\u30af\u30e9\u30a4\u30a2\u30f3\u30c8\u306e\u901a\u4fe1\u3067\u306f Transfer Object \u304c\u30ec\u30b3\u30fc\u30c9\u306e\u4ee3\u7528\u306b\u306a\u308b\u305f\u3081\u62bd\u8c61\u5ea6\u304c\u5897\u3059\u3002<br \/>\n&nbsp;<br \/>\n\u8aac\u660e\u3067\u306f\u3001\u8907\u6570\u306e\u30bd\u30fc\u30b9\u3068\u8907\u6570\u306e\u30c6\u30fc\u30d6\u30eb\u304c\u5b58\u5728\u3059\u308b\u305f\u3081\u3001\u5229\u4fbf\u6027\u306e\u305f\u3081\u306b Abstract Factory Method Pattern \u3067\u30bd\u30fc\u30b9\u30bf\u30a4\u30d7\u6bce\u306b\u968e\u5c64\u3092\u4f5c\u308a\u3001\u30e1\u30bd\u30c3\u30c9\u3067\u30c6\u30fc\u30d6\u30eb\u3092\u4f5c\u308c\u308b\u3088\u3046\u306b\u3057\u3066\u3044\u308b\u3002<br \/>\n&nbsp;<br \/>\n\u96e3\u70b9\u306f\u3001\u7c21\u6613\u7684\u306a\u5b9f\u88c5\u3060\u3068\u6761\u4ef6\u3092\u3057\u307c\u308a\u304d\u308c\u305a\u30aa\u30fc\u30d0\u30fc\u30d8\u30c3\u30c9\u304c\u304b\u304b\u308a\u305d\u3046\u306a\u3053\u3068\u3084\u3001\u3069\u3046\u3057\u3066\u3082 JDBC \u3068\u304b\u3092\u76f4\u63a5\u3055\u308f\u308b\u3088\u308a\u958b\u767a\u30b3\u30b9\u30c8\u304c\u304b\u304b\u308b\u3053\u3068\u3002\u5358\u7d14\u306a\u5b9f\u88c5\u3067\u306f select \u3067\u5168\u3066\u3068\u3063\u3066 Collection \u306b\u3057\u3066\u3057\u307e\u3048\u3070\u697d\u3060\u3051\u3069\u3001\u305f\u3068\u3048\u3070\u6570\u4e07\u884c\u306e\u30c6\u30fc\u30d6\u30eb\u304c\u6bce\u56de\u683c\u7d0d\u3055\u308c\u308b\u3068\u306a\u308b\u3068\u5927\u5909\u3002\u5358\u7d14\u306a\u5b9f\u88c5\u3068\u306f\u5225\u306b\u30b7\u30b9\u30c6\u30e0\u7279\u5316\u306e\u30e1\u30bd\u30c3\u30c9\u3092\u5b9f\u88c5\u3059\u308c\u3070\u3044\u3044\u304b\u3082\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>&#8211; Core J2EE Patterns &#8211; Data Access Object \u30c7\u30fc\u30bf\u30bd\u30fc\u30b9\u3084\u88fd\u54c1\u4f9d\u5b58\u306e\u51e6\u7406\u3092\u96a0\u853d\u3057\u3066\u3001\u4f8b\u3048\u3070\u30c6\u30fc\u30d6\u30eb\u5358\u4f4d\u3067\u30a2\u30af\u30bb\u30b9\u7528\u306e API \u3092\u4f5c\u308a\u3001insert, del &hellip; <a href=\"https:\/\/www.ecoop.net\/memo\/archives\/2005-03-29-1.html\" class=\"more-link\">\u7d9a\u304d\u3092\u8aad\u3080 <span class=\"screen-reader-text\">DAO \u30d1\u30bf\u30fc\u30f3<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[],"tags":[19],"class_list":["post-330","post","type-post","status-publish","format-standard","hentry","tag-programming"],"jetpack_featured_media_url":"","_links":{"self":[{"href":"https:\/\/www.ecoop.net\/memo\/wp-json\/wp\/v2\/posts\/330","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.ecoop.net\/memo\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.ecoop.net\/memo\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.ecoop.net\/memo\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.ecoop.net\/memo\/wp-json\/wp\/v2\/comments?post=330"}],"version-history":[{"count":0,"href":"https:\/\/www.ecoop.net\/memo\/wp-json\/wp\/v2\/posts\/330\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.ecoop.net\/memo\/wp-json\/wp\/v2\/media?parent=330"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.ecoop.net\/memo\/wp-json\/wp\/v2\/categories?post=330"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.ecoop.net\/memo\/wp-json\/wp\/v2\/tags?post=330"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}