{"id":1041,"date":"2019-06-22T13:47:57","date_gmt":"2019-06-22T04:47:57","guid":{"rendered":"https:\/\/ito-u-oti.com\/?p=1041"},"modified":"2020-07-10T17:26:24","modified_gmt":"2020-07-10T08:26:24","slug":"post-1041","status":"publish","type":"post","link":"https:\/\/ito-u-oti.com\/?p=1041","title":{"rendered":"\u3010Spring Boot\u3011\u3010Mybatis\u3011Xml\u30d9\u30fc\u30b9\u3067\u7d50\u5408SQL\u306b\u3088\u308b\u30de\u30c3\u30d4\u30f3\u30b0\u5b9f\u88c5"},"content":{"rendered":"\n<p><a href=\"https:\/\/ito-u-oti.com\/post-1037\/\">\u524d\u56de<\/a>\u306e\u7d9a\u304d\u3067\u3059\u3002<br>\u524d\u63d0\u306a\u3069\u306f<a href=\"https:\/\/ito-u-oti.com\/post-1029\/\">1\u56de\u76ee\u306e\u8a18\u4e8b<\/a>\u3092\u78ba\u8a8d\u3057\u3066\u304f\u3060\u3055\u3044\u3002 <\/p>\n\n\n\n<h2 id=\"outline__1\" class=\"wp-block-heading\"> Xml\u30d9\u30fc\u30b9\u3067\u7d50\u5408SQL\u306b\u3088\u308b\u30de\u30c3\u30d4\u30f3\u30b0\u5b9f\u88c5<\/h2>\n\n\n\n<p>\u524d\u56de\u306fSQL\u3092\uff13\u3064\u4f7f\u7528\u3057\u3066\u30cd\u30b9\u30c8\u3055\u308c\u305f\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u3078\u306e\u30de\u30c3\u30d4\u30f3\u30b0\u3092\u5b9f\u88c5\u3057\u3066\u3044\u307e\u3057\u305f\u304c\u3001Xml\u306e\u5834\u5408\u3067\u3042\u308c\u3070From\u53e5\u3092\u8907\u6570\u6307\u5b9a\u3057\u305f\u7d50\u5408SQL\u3067\u306e\u30de\u30c3\u30d4\u30f3\u30b0\u3082\u53ef\u80fd\u3067\u3059\u3002<br>\u203b\u30a2\u30ce\u30c6\u30fc\u30b7\u30e7\u30f3\u30d9\u30fc\u30b9\u3067\u306f\u3067\u304d\u307e\u305b\u3093\u3002<\/p>\n\n\n\n<h2 id=\"outline__2\" class=\"wp-block-heading\">\u30b3\u30fc\u30c9<\/h2>\n\n\n\n<h3 id=\"outline__2_1\" class=\"wp-block-heading\">DemoMapperXml.java<\/h3>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: java; title: ; notranslate\" title=\"\">\npackage com.example.demo.repository;\n\nimport org.apache.ibatis.annotations.Mapper;\nimport org.apache.ibatis.annotations.Param;\n\nimport com.example.demo.entity.Country;\n\n@Mapper\npublic interface DemoMapperXml {\n\n    Country selectCountry(@Param(&quot;id&quot;) Integer id);\n\n}\n<\/pre><\/div>\n\n\n<p>\u30a2\u30ce\u30c6\u30fc\u30b7\u30e7\u30f3\u30d9\u30fc\u30b9\u306b\u6bd4\u3079\u308b\u3068\u3059\u3063\u304d\u308a\u3057\u3066\u3044\u307e\u3059\u3002<\/p>\n\n\n\n<h3 id=\"outline__2_2\" class=\"wp-block-heading\">DemoMapperXml.xml <\/h3>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: xml; title: ; notranslate\" title=\"\">\n&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot; ?&gt;\n&lt;!DOCTYPE mapper\n        PUBLIC &quot;-\/\/mybatis.org\/\/DTD Mapper 3.0\/\/EN&quot;\n        &quot;http:\/\/mybatis.org\/dtd\/mybatis-3-mapper.dtd&quot;&gt;\n&lt;mapper namespace=&quot;com.example.demo.repository.DemoMapperXml&quot;&gt;\n    \n    &lt;resultMap id=&quot;countryMap&quot; type=&quot;com.example.demo.entity.Country&quot; &gt;\n    \n        &lt;!-- &lt;result column=&quot;country_id&quot; property=&quot;countryId&quot; \/&gt; --&gt;\n        &lt;result column=&quot;country&quot; property=&quot;country&quot; \/&gt;\n        &lt;result column=&quot;last_update&quot; property=&quot;lastUpdate&quot; \/&gt;\n        \n        &lt;association property=&quot;id&quot; &gt;\n            &lt;result column=&quot;country_id&quot; property=&quot;countryId&quot; \/&gt;\n        &lt;\/association&gt;\n        \n        &lt;collection property=&quot;city&quot; ofType=&quot;com.example.demo.entity.City&quot;&gt;\n            &lt;result column=&quot;city_id&quot; property=&quot;cityId&quot; \/&gt;\n            &lt;result column=&quot;city&quot; property=&quot;city&quot; \/&gt;\n            &lt;result column=&quot;last_update&quot; property=&quot;lastUpdate&quot; \/&gt;\n            \n            &lt;collection property=&quot;address&quot; ofType=&quot;com.example.demo.entity.Address&quot;&gt;\n                &lt;result column=&quot;address_id&quot; property=&quot;addressId&quot; \/&gt;\n                &lt;result column=&quot;address&quot; property=&quot;address&quot; \/&gt;\n                &lt;result column=&quot;address2&quot; property=&quot;address2&quot; \/&gt;\n                &lt;result column=&quot;district&quot; property=&quot;district&quot; \/&gt;\n                &lt;result column=&quot;postal_code&quot; property=&quot;postalCode&quot; \/&gt;\n                &lt;result column=&quot;phone&quot; property=&quot;phone&quot; \/&gt;\n                &lt;result column=&quot;last_update&quot; property=&quot;lastUpdate&quot; \/&gt;\n            \n            &lt;\/collection&gt;\n             \n        &lt;\/collection&gt;\n    \n    &lt;\/resultMap&gt;\n    &lt;select\n        id=&quot;selectCountry&quot;\n        resultMap=&quot;countryMap&quot;&gt;\n        SELECT *\n        FROM\n            country,\n            city,\n            address\n        WHERE\n            country.country_id = #{id}\n        AND\n            country.country_id = city.country_id\n        AND\n            city.city_id = address.city_id\n    &lt;\/select&gt;\n&lt;\/mapper&gt;\n<\/pre><\/div>\n\n\n<h2 id=\"outline__3\" class=\"wp-block-heading\">\u8aac\u660e<\/h2>\n\n\n\n<p>\u307e\u305a\u3001SQL\u6587\u304c\u5909\u308f\u3063\u3066\u3044\u307e\u3059\u3002<br>\u524d\u56de\u307e\u3067\u306eSQL\u3067\u306f\u305d\u308c\u305e\u308c\u306e\u30c6\u30fc\u30d6\u30eb\u306b\u5bfe\u3057\u3066\u4e3b\u30ad\u30fc\u306a\u3069\u304b\u3089\u5bfe\u5fdc\u3059\u308b\u30ec\u30b3\u30fc\u30c9\u3092\u53d6\u5f97\u3057\u3066\u3044\u307e\u3057\u305f\u304c\u3001<br>\u4eca\u56de\u306f\u305d\u308c\u305e\u308c\u306eSQL\u306e\u6761\u4ef6\u3092\u4e00\u6c17\u306b\u6307\u5b9a\u3057\u3066\u3044\u307e\u3059\u3002<\/p>\n\n\n\n<p>\u5f8c\u306f\u7d50\u679c\u3092\u683c\u7d0d\u3059\u308b\u3060\u3051\u3067\u3059\u3002<br>collection\u3067\u30cd\u30b9\u30c8\u3057\u3066\u3044\u308b\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u3092\u6307\u5b9a\u3057\u3001\u3055\u3089\u306b\u30cd\u30b9\u30c8\u3057\u3066\u3044\u308b\u5834\u5408\u306fcollection\u3092\u8ffd\u52a0\u3067\u6307\u5b9a\u3057\u3066\u3044\u308b\u3068\u3044\u3046\u5165\u308c\u5b50\u306e\u69cb\u9020\u306b\u306a\u3063\u3066\u3044\u307e\u3059\u3002<\/p>\n\n\n\n<h2 id=\"outline__4\" class=\"wp-block-heading\">\u7d50\u679c<\/h2>\n\n\n\n<figure class=\"wp-block-image is-resized\"><img decoding=\"async\" src=\"https:\/\/ito-u-oti.com\/wp-content\/uploads\/2019\/06\/spring-mybatisMapper3.png\" alt=\"\" class=\"wp-image-1042\" width=\"532\" height=\"473\"\/><\/figure>\n\n\n\n<p>\u4ed6\u306e\u30de\u30c3\u30d4\u30f3\u30b0\u5b9f\u88c5\u3068\u540c\u3058\u304f\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u304c\u30de\u30c3\u30d4\u30f3\u30b0\u3067\u304d\u3066\u3044\u307e\u3059\u3002<\/p>\n\n\n\n<h2 id=\"outline__5\" class=\"wp-block-heading\">\u307e\u3068\u3081<\/h2>\n\n\n\n<p>\u3053\u3053\u307e\u3067\u30673\u3064\u306e\u5b9f\u88c5\u65b9\u6cd5\u3092\u8aac\u660e\u3057\u3066\u304d\u307e\u3057\u305f\u304c\u3001\u524d\u56de\u307e\u3067\u306e\u4e8c\u3064\u306e\u5b9f\u88c5<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>DemoMapper\u304c\u30a2\u30ce\u30c6\u30fc\u30b7\u30e7\u30f3\u30d9\u30fc\u30b9\u306e\u30de\u30c3\u30d4\u30f3\u30b0\u5b9f\u88c5<\/li><li>DemoMapperXml\u304cXml\u30d9\u30fc\u30b9\u3067\u7d50\u5408SQL\u306b\u3088\u308b\u30de\u30c3\u30d4\u30f3\u30b0\u5b9f\u88c5<\/li><\/ul>\n\n\n\n<p>\u306b\u3064\u3044\u3066\u306f\u6ce8\u610f\u304c\u5fc5\u8981\u3067\u3059\u3002<br>\u306a\u305c\u306a\u3089\u30cd\u30b9\u30c8\u3057\u305f\u968e\u5c64\u3054\u3068\u306bSQL\u3092\u767a\u884c\u3059\u308b\u5fc5\u8981\u304c\u3042\u308b\u305f\u3081\u3001<br>Many\u304b\u3089Many\u306e\u30cd\u30b9\u30c8\u306a\u3069\u306b\u5bfe\u3057\u3066\u306f\u5927\u91cf\u306bSQL\u3092\u767a\u884c\u3057\u3066\u3057\u307e\u3044\u6027\u80fd\u9762\u3067\u5f71\u97ff\u304c\u51fa\u308b\u53ef\u80fd\u6027\u304c\u3042\u308b\u305f\u3081\u3067\u3059\u3002<br><a href=\"https:\/\/qiita.com\/TsubasaTakagi\/items\/8c3f4317ad917924b860\">N+1\u554f\u984c<\/a>\u3068\u3082\u8a00\u308f\u308c\u3066\u3044\u307e\u3059\u3002<br>\u306a\u306e\u3067\u3001\u53ef\u80fd\u3067\u3042\u308c\u3070\u8907\u5408\u30ad\u30fc\u3092\u4f7f\u3063\u3066\u5fc5\u8981\u306a\u30ab\u30e9\u30e0\u3092\u53d6\u5f97\u3057\u3001Xml\u30d9\u30fc\u30b9\u3067\u30de\u30c3\u30d4\u30f3\u30b0\u3092\u3057\u305f\u307b\u3046\u304c\u3044\u3044\u304b\u3082\u3057\u308c\u307e\u305b\u3093\u3002<\/p>\n\n\n\n<h2 id=\"outline__6\" class=\"wp-block-heading\">\u53c2\u8003<\/h2>\n\n\n\n<p><a href=\"https:\/\/qiita.com\/TsubasaTakagi\/items\/8c3f4317ad917924b860\">N+1\u554f\u984c<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u524d\u56de\u306e\u7d9a\u304d\u3067\u3059\u3002\u524d\u63d0\u306a\u3069\u306f1\u56de\u76ee\u306e\u8a18\u4e8b\u3092\u78ba\u8a8d\u3057\u3066\u304f\u3060\u3055\u3044\u3002 Xml\u30d9\u30fc\u30b9\u3067\u7d50\u5408SQL\u306b\u3088\u308b\u30de\u30c3\u30d4\u30f3\u30b0 [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":273,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[28],"tags":[242,240,241,13,239,238],"class_list":["post-1041","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-mybatis","tag-annotation","tag-many","tag-mapper","tag-mybatis","tag-one","tag-spring-boot"],"aioseo_notices":[],"aioseo_head":"\n\t\t<!-- All in One SEO 4.9.8 - aioseo.com -->\n\t<meta name=\"description\" content=\"\u524d\u56de\u306e\u7d9a\u304d\u3067\u3059\u3002\u524d\u63d0\u306a\u3069\u306f1\u56de\u76ee\u306e\u8a18\u4e8b\u3092\u78ba\u8a8d\u3057\u3066\u304f\u3060\u3055\u3044\u3002 Xml\u30d9\u30fc\u30b9\u3067\u7d50\u5408SQL\u306b\u3088\u308b\u30de\u30c3\u30d4\u30f3\u30b0\u5b9f\u88c5 \u524d\u56de\" \/>\n\t<meta name=\"robots\" content=\"max-image-preview:large\" \/>\n\t<meta name=\"author\" content=\"\u3044\u3068\u3068\u3044\"\/>\n\t<meta name=\"google-site-verification\" content=\"dHfPMd0QGg17gHdKjRsKPMBchJp5FPXghry3uflwfwM\" \/>\n\t<meta name=\"keywords\" content=\"spring boot,mybatis,one,many,mapper,annotation\" \/>\n\t<link rel=\"canonical\" href=\"https:\/\/ito-u-oti.com\/?p=1041\" \/>\n\t<meta name=\"generator\" content=\"All in One SEO (AIOSEO) 4.9.8\" \/>\n\t\t<meta property=\"og:locale\" content=\"ja_JP\" \/>\n\t\t<meta property=\"og:site_name\" content=\"\u30f0\u5200\u306e\u304a\u3082\u3061\u3083\u7bb1\" \/>\n\t\t<meta property=\"og:type\" content=\"article\" \/>\n\t\t<meta property=\"og:title\" content=\"\u3010Spring Boot\u3011\u3010Mybatis\u3011Xml\u30d9\u30fc\u30b9\u3067\u7d50\u5408SQL\u306b\u3088\u308b\u30de\u30c3\u30d4\u30f3\u30b0\u5b9f\u88c5 | \u30f0\u5200\u306e\u304a\u3082\u3061\u3083\u7bb1\" \/>\n\t\t<meta property=\"og:description\" content=\"\u524d\u56de\u306e\u7d9a\u304d\u3067\u3059\u3002\u524d\u63d0\u306a\u3069\u306f1\u56de\u76ee\u306e\u8a18\u4e8b\u3092\u78ba\u8a8d\u3057\u3066\u304f\u3060\u3055\u3044\u3002 Xml\u30d9\u30fc\u30b9\u3067\u7d50\u5408SQL\u306b\u3088\u308b\u30de\u30c3\u30d4\u30f3\u30b0\u5b9f\u88c5 \u524d\u56de\" \/>\n\t\t<meta property=\"og:url\" content=\"https:\/\/ito-u-oti.com\/?p=1041\" \/>\n\t\t<meta property=\"og:image\" content=\"https:\/\/ito-u-oti.com\/wp-content\/uploads\/2018\/03\/mybatis.jpg\" \/>\n\t\t<meta property=\"og:image:secure_url\" content=\"https:\/\/ito-u-oti.com\/wp-content\/uploads\/2018\/03\/mybatis.jpg\" \/>\n\t\t<meta property=\"og:image:width\" content=\"259\" \/>\n\t\t<meta property=\"og:image:height\" content=\"194\" \/>\n\t\t<meta property=\"article:published_time\" content=\"2019-06-22T04:47:57+00:00\" \/>\n\t\t<meta property=\"article:modified_time\" content=\"2020-07-10T08:26:24+00:00\" \/>\n\t\t<meta name=\"twitter:card\" content=\"summary\" \/>\n\t\t<meta name=\"twitter:title\" content=\"\u3010Spring Boot\u3011\u3010Mybatis\u3011Xml\u30d9\u30fc\u30b9\u3067\u7d50\u5408SQL\u306b\u3088\u308b\u30de\u30c3\u30d4\u30f3\u30b0\u5b9f\u88c5 | \u30f0\u5200\u306e\u304a\u3082\u3061\u3083\u7bb1\" \/>\n\t\t<meta name=\"twitter:description\" content=\"\u524d\u56de\u306e\u7d9a\u304d\u3067\u3059\u3002\u524d\u63d0\u306a\u3069\u306f1\u56de\u76ee\u306e\u8a18\u4e8b\u3092\u78ba\u8a8d\u3057\u3066\u304f\u3060\u3055\u3044\u3002 Xml\u30d9\u30fc\u30b9\u3067\u7d50\u5408SQL\u306b\u3088\u308b\u30de\u30c3\u30d4\u30f3\u30b0\u5b9f\u88c5 \u524d\u56de\" \/>\n\t\t<meta name=\"twitter:creator\" content=\"@itouoti_IoT\" \/>\n\t\t<meta name=\"twitter:image\" content=\"https:\/\/ito-u-oti.com\/wp-content\/uploads\/2018\/03\/mybatis.jpg\" \/>\n\t\t<script type=\"application\/ld+json\" class=\"aioseo-schema\">\n\t\t\t{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/ito-u-oti.com\\\/?p=1041#article\",\"name\":\"\\u3010Spring Boot\\u3011\\u3010Mybatis\\u3011Xml\\u30d9\\u30fc\\u30b9\\u3067\\u7d50\\u5408SQL\\u306b\\u3088\\u308b\\u30de\\u30c3\\u30d4\\u30f3\\u30b0\\u5b9f\\u88c5 | \\u30f0\\u5200\\u306e\\u304a\\u3082\\u3061\\u3083\\u7bb1\",\"headline\":\"\\u3010Spring Boot\\u3011\\u3010Mybatis\\u3011Xml\\u30d9\\u30fc\\u30b9\\u3067\\u7d50\\u5408SQL\\u306b\\u3088\\u308b\\u30de\\u30c3\\u30d4\\u30f3\\u30b0\\u5b9f\\u88c5\",\"author\":{\"@id\":\"https:\\\/\\\/ito-u-oti.com\\\/?author=1#author\"},\"publisher\":{\"@id\":\"https:\\\/\\\/ito-u-oti.com\\\/#person\"},\"image\":{\"@type\":\"ImageObject\",\"url\":\"https:\\\/\\\/ito-u-oti.com\\\/wp-content\\\/uploads\\\/2018\\\/03\\\/mybatis.jpg\",\"width\":259,\"height\":194},\"datePublished\":\"2019-06-22T13:47:57+09:00\",\"dateModified\":\"2020-07-10T17:26:24+09:00\",\"inLanguage\":\"ja\",\"commentCount\":1,\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/ito-u-oti.com\\\/?p=1041#webpage\"},\"isPartOf\":{\"@id\":\"https:\\\/\\\/ito-u-oti.com\\\/?p=1041#webpage\"},\"articleSection\":\"mybatis, annotation, many, mapper, mybatis, one, spring boot\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/ito-u-oti.com\\\/?p=1041#breadcrumblist\",\"itemListElement\":[{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/ito-u-oti.com#listItem\",\"position\":1,\"name\":\"\\u30db\\u30fc\\u30e0\",\"item\":\"https:\\\/\\\/ito-u-oti.com\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/ito-u-oti.com\\\/?cat=6#listItem\",\"name\":\"\\u30d7\\u30ed\\u30b0\\u30e9\\u30df\\u30f3\\u30b0\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/ito-u-oti.com\\\/?cat=6#listItem\",\"position\":2,\"name\":\"\\u30d7\\u30ed\\u30b0\\u30e9\\u30df\\u30f3\\u30b0\",\"item\":\"https:\\\/\\\/ito-u-oti.com\\\/?cat=6\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/ito-u-oti.com\\\/?cat=28#listItem\",\"name\":\"mybatis\"},\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/ito-u-oti.com#listItem\",\"name\":\"\\u30db\\u30fc\\u30e0\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/ito-u-oti.com\\\/?cat=28#listItem\",\"position\":3,\"name\":\"mybatis\",\"item\":\"https:\\\/\\\/ito-u-oti.com\\\/?cat=28\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/ito-u-oti.com\\\/?p=1041#listItem\",\"name\":\"\\u3010Spring Boot\\u3011\\u3010Mybatis\\u3011Xml\\u30d9\\u30fc\\u30b9\\u3067\\u7d50\\u5408SQL\\u306b\\u3088\\u308b\\u30de\\u30c3\\u30d4\\u30f3\\u30b0\\u5b9f\\u88c5\"},\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/ito-u-oti.com\\\/?cat=6#listItem\",\"name\":\"\\u30d7\\u30ed\\u30b0\\u30e9\\u30df\\u30f3\\u30b0\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/ito-u-oti.com\\\/?p=1041#listItem\",\"position\":4,\"name\":\"\\u3010Spring Boot\\u3011\\u3010Mybatis\\u3011Xml\\u30d9\\u30fc\\u30b9\\u3067\\u7d50\\u5408SQL\\u306b\\u3088\\u308b\\u30de\\u30c3\\u30d4\\u30f3\\u30b0\\u5b9f\\u88c5\",\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/ito-u-oti.com\\\/?cat=28#listItem\",\"name\":\"mybatis\"}}]},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/ito-u-oti.com\\\/#person\",\"name\":\"\\u3044\\u3068\\u3068\\u3044\",\"image\":{\"@type\":\"ImageObject\",\"@id\":\"https:\\\/\\\/ito-u-oti.com\\\/?p=1041#personImage\",\"url\":\"https:\\\/\\\/ito-u-oti.com\\\/wp-content\\\/uploads\\\/2021\\\/06\\\/IMG_20191231_122527_095-150x150.jpg\",\"width\":96,\"height\":96,\"caption\":\"\\u3044\\u3068\\u3068\\u3044\"},\"sameAs\":[\"https:\\\/\\\/twitter.com\\\/itouoti_IoT\"]},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/ito-u-oti.com\\\/?author=1#author\",\"url\":\"https:\\\/\\\/ito-u-oti.com\\\/?author=1\",\"name\":\"\\u3044\\u3068\\u3068\\u3044\",\"image\":{\"@type\":\"ImageObject\",\"@id\":\"https:\\\/\\\/ito-u-oti.com\\\/?p=1041#authorImage\",\"url\":\"https:\\\/\\\/ito-u-oti.com\\\/wp-content\\\/uploads\\\/2021\\\/06\\\/IMG_20191231_122527_095-150x150.jpg\",\"width\":96,\"height\":96,\"caption\":\"\\u3044\\u3068\\u3068\\u3044\"},\"sameAs\":[\"https:\\\/\\\/twitter.com\\\/itouoti_IoT\"]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/ito-u-oti.com\\\/?p=1041#webpage\",\"url\":\"https:\\\/\\\/ito-u-oti.com\\\/?p=1041\",\"name\":\"\\u3010Spring Boot\\u3011\\u3010Mybatis\\u3011Xml\\u30d9\\u30fc\\u30b9\\u3067\\u7d50\\u5408SQL\\u306b\\u3088\\u308b\\u30de\\u30c3\\u30d4\\u30f3\\u30b0\\u5b9f\\u88c5 | \\u30f0\\u5200\\u306e\\u304a\\u3082\\u3061\\u3083\\u7bb1\",\"description\":\"\\u524d\\u56de\\u306e\\u7d9a\\u304d\\u3067\\u3059\\u3002\\u524d\\u63d0\\u306a\\u3069\\u306f1\\u56de\\u76ee\\u306e\\u8a18\\u4e8b\\u3092\\u78ba\\u8a8d\\u3057\\u3066\\u304f\\u3060\\u3055\\u3044\\u3002 Xml\\u30d9\\u30fc\\u30b9\\u3067\\u7d50\\u5408SQL\\u306b\\u3088\\u308b\\u30de\\u30c3\\u30d4\\u30f3\\u30b0\\u5b9f\\u88c5 \\u524d\\u56de\",\"inLanguage\":\"ja\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/ito-u-oti.com\\\/#website\"},\"breadcrumb\":{\"@id\":\"https:\\\/\\\/ito-u-oti.com\\\/?p=1041#breadcrumblist\"},\"author\":{\"@id\":\"https:\\\/\\\/ito-u-oti.com\\\/?author=1#author\"},\"creator\":{\"@id\":\"https:\\\/\\\/ito-u-oti.com\\\/?author=1#author\"},\"image\":{\"@type\":\"ImageObject\",\"url\":\"https:\\\/\\\/ito-u-oti.com\\\/wp-content\\\/uploads\\\/2018\\\/03\\\/mybatis.jpg\",\"@id\":\"https:\\\/\\\/ito-u-oti.com\\\/?p=1041\\\/#mainImage\",\"width\":259,\"height\":194},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/ito-u-oti.com\\\/?p=1041#mainImage\"},\"datePublished\":\"2019-06-22T13:47:57+09:00\",\"dateModified\":\"2020-07-10T17:26:24+09:00\"},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/ito-u-oti.com\\\/#website\",\"url\":\"https:\\\/\\\/ito-u-oti.com\\\/\",\"name\":\"\\u30f0\\u5200\\u306e\\u304a\\u3082\\u3061\\u3083\\u7bb1\",\"description\":\"music\\u00d7IT\\u00d7guiter\\u00d7programing\",\"inLanguage\":\"ja\",\"publisher\":{\"@id\":\"https:\\\/\\\/ito-u-oti.com\\\/#person\"}}]}\n\t\t<\/script>\n\t\t<!-- All in One SEO -->\n\n","aioseo_head_json":{"title":"\u3010Spring Boot\u3011\u3010Mybatis\u3011Xml\u30d9\u30fc\u30b9\u3067\u7d50\u5408SQL\u306b\u3088\u308b\u30de\u30c3\u30d4\u30f3\u30b0\u5b9f\u88c5 | \u30f0\u5200\u306e\u304a\u3082\u3061\u3083\u7bb1","description":"\u524d\u56de\u306e\u7d9a\u304d\u3067\u3059\u3002\u524d\u63d0\u306a\u3069\u306f1\u56de\u76ee\u306e\u8a18\u4e8b\u3092\u78ba\u8a8d\u3057\u3066\u304f\u3060\u3055\u3044\u3002 Xml\u30d9\u30fc\u30b9\u3067\u7d50\u5408SQL\u306b\u3088\u308b\u30de\u30c3\u30d4\u30f3\u30b0\u5b9f\u88c5 \u524d\u56de","canonical_url":"https:\/\/ito-u-oti.com\/?p=1041","robots":"max-image-preview:large","keywords":"spring boot,mybatis,one,many,mapper,annotation","webmasterTools":{"google-site-verification":"dHfPMd0QGg17gHdKjRsKPMBchJp5FPXghry3uflwfwM","miscellaneous":""},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/ito-u-oti.com\/?p=1041#article","name":"\u3010Spring Boot\u3011\u3010Mybatis\u3011Xml\u30d9\u30fc\u30b9\u3067\u7d50\u5408SQL\u306b\u3088\u308b\u30de\u30c3\u30d4\u30f3\u30b0\u5b9f\u88c5 | \u30f0\u5200\u306e\u304a\u3082\u3061\u3083\u7bb1","headline":"\u3010Spring Boot\u3011\u3010Mybatis\u3011Xml\u30d9\u30fc\u30b9\u3067\u7d50\u5408SQL\u306b\u3088\u308b\u30de\u30c3\u30d4\u30f3\u30b0\u5b9f\u88c5","author":{"@id":"https:\/\/ito-u-oti.com\/?author=1#author"},"publisher":{"@id":"https:\/\/ito-u-oti.com\/#person"},"image":{"@type":"ImageObject","url":"https:\/\/ito-u-oti.com\/wp-content\/uploads\/2018\/03\/mybatis.jpg","width":259,"height":194},"datePublished":"2019-06-22T13:47:57+09:00","dateModified":"2020-07-10T17:26:24+09:00","inLanguage":"ja","commentCount":1,"mainEntityOfPage":{"@id":"https:\/\/ito-u-oti.com\/?p=1041#webpage"},"isPartOf":{"@id":"https:\/\/ito-u-oti.com\/?p=1041#webpage"},"articleSection":"mybatis, annotation, many, mapper, mybatis, one, spring boot"},{"@type":"BreadcrumbList","@id":"https:\/\/ito-u-oti.com\/?p=1041#breadcrumblist","itemListElement":[{"@type":"ListItem","@id":"https:\/\/ito-u-oti.com#listItem","position":1,"name":"\u30db\u30fc\u30e0","item":"https:\/\/ito-u-oti.com","nextItem":{"@type":"ListItem","@id":"https:\/\/ito-u-oti.com\/?cat=6#listItem","name":"\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0"}},{"@type":"ListItem","@id":"https:\/\/ito-u-oti.com\/?cat=6#listItem","position":2,"name":"\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0","item":"https:\/\/ito-u-oti.com\/?cat=6","nextItem":{"@type":"ListItem","@id":"https:\/\/ito-u-oti.com\/?cat=28#listItem","name":"mybatis"},"previousItem":{"@type":"ListItem","@id":"https:\/\/ito-u-oti.com#listItem","name":"\u30db\u30fc\u30e0"}},{"@type":"ListItem","@id":"https:\/\/ito-u-oti.com\/?cat=28#listItem","position":3,"name":"mybatis","item":"https:\/\/ito-u-oti.com\/?cat=28","nextItem":{"@type":"ListItem","@id":"https:\/\/ito-u-oti.com\/?p=1041#listItem","name":"\u3010Spring Boot\u3011\u3010Mybatis\u3011Xml\u30d9\u30fc\u30b9\u3067\u7d50\u5408SQL\u306b\u3088\u308b\u30de\u30c3\u30d4\u30f3\u30b0\u5b9f\u88c5"},"previousItem":{"@type":"ListItem","@id":"https:\/\/ito-u-oti.com\/?cat=6#listItem","name":"\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0"}},{"@type":"ListItem","@id":"https:\/\/ito-u-oti.com\/?p=1041#listItem","position":4,"name":"\u3010Spring Boot\u3011\u3010Mybatis\u3011Xml\u30d9\u30fc\u30b9\u3067\u7d50\u5408SQL\u306b\u3088\u308b\u30de\u30c3\u30d4\u30f3\u30b0\u5b9f\u88c5","previousItem":{"@type":"ListItem","@id":"https:\/\/ito-u-oti.com\/?cat=28#listItem","name":"mybatis"}}]},{"@type":"Person","@id":"https:\/\/ito-u-oti.com\/#person","name":"\u3044\u3068\u3068\u3044","image":{"@type":"ImageObject","@id":"https:\/\/ito-u-oti.com\/?p=1041#personImage","url":"https:\/\/ito-u-oti.com\/wp-content\/uploads\/2021\/06\/IMG_20191231_122527_095-150x150.jpg","width":96,"height":96,"caption":"\u3044\u3068\u3068\u3044"},"sameAs":["https:\/\/twitter.com\/itouoti_IoT"]},{"@type":"Person","@id":"https:\/\/ito-u-oti.com\/?author=1#author","url":"https:\/\/ito-u-oti.com\/?author=1","name":"\u3044\u3068\u3068\u3044","image":{"@type":"ImageObject","@id":"https:\/\/ito-u-oti.com\/?p=1041#authorImage","url":"https:\/\/ito-u-oti.com\/wp-content\/uploads\/2021\/06\/IMG_20191231_122527_095-150x150.jpg","width":96,"height":96,"caption":"\u3044\u3068\u3068\u3044"},"sameAs":["https:\/\/twitter.com\/itouoti_IoT"]},{"@type":"WebPage","@id":"https:\/\/ito-u-oti.com\/?p=1041#webpage","url":"https:\/\/ito-u-oti.com\/?p=1041","name":"\u3010Spring Boot\u3011\u3010Mybatis\u3011Xml\u30d9\u30fc\u30b9\u3067\u7d50\u5408SQL\u306b\u3088\u308b\u30de\u30c3\u30d4\u30f3\u30b0\u5b9f\u88c5 | \u30f0\u5200\u306e\u304a\u3082\u3061\u3083\u7bb1","description":"\u524d\u56de\u306e\u7d9a\u304d\u3067\u3059\u3002\u524d\u63d0\u306a\u3069\u306f1\u56de\u76ee\u306e\u8a18\u4e8b\u3092\u78ba\u8a8d\u3057\u3066\u304f\u3060\u3055\u3044\u3002 Xml\u30d9\u30fc\u30b9\u3067\u7d50\u5408SQL\u306b\u3088\u308b\u30de\u30c3\u30d4\u30f3\u30b0\u5b9f\u88c5 \u524d\u56de","inLanguage":"ja","isPartOf":{"@id":"https:\/\/ito-u-oti.com\/#website"},"breadcrumb":{"@id":"https:\/\/ito-u-oti.com\/?p=1041#breadcrumblist"},"author":{"@id":"https:\/\/ito-u-oti.com\/?author=1#author"},"creator":{"@id":"https:\/\/ito-u-oti.com\/?author=1#author"},"image":{"@type":"ImageObject","url":"https:\/\/ito-u-oti.com\/wp-content\/uploads\/2018\/03\/mybatis.jpg","@id":"https:\/\/ito-u-oti.com\/?p=1041\/#mainImage","width":259,"height":194},"primaryImageOfPage":{"@id":"https:\/\/ito-u-oti.com\/?p=1041#mainImage"},"datePublished":"2019-06-22T13:47:57+09:00","dateModified":"2020-07-10T17:26:24+09:00"},{"@type":"WebSite","@id":"https:\/\/ito-u-oti.com\/#website","url":"https:\/\/ito-u-oti.com\/","name":"\u30f0\u5200\u306e\u304a\u3082\u3061\u3083\u7bb1","description":"music\u00d7IT\u00d7guiter\u00d7programing","inLanguage":"ja","publisher":{"@id":"https:\/\/ito-u-oti.com\/#person"}}]},"og:locale":"ja_JP","og:site_name":"\u30f0\u5200\u306e\u304a\u3082\u3061\u3083\u7bb1","og:type":"article","og:title":"\u3010Spring Boot\u3011\u3010Mybatis\u3011Xml\u30d9\u30fc\u30b9\u3067\u7d50\u5408SQL\u306b\u3088\u308b\u30de\u30c3\u30d4\u30f3\u30b0\u5b9f\u88c5 | \u30f0\u5200\u306e\u304a\u3082\u3061\u3083\u7bb1","og:description":"\u524d\u56de\u306e\u7d9a\u304d\u3067\u3059\u3002\u524d\u63d0\u306a\u3069\u306f1\u56de\u76ee\u306e\u8a18\u4e8b\u3092\u78ba\u8a8d\u3057\u3066\u304f\u3060\u3055\u3044\u3002 Xml\u30d9\u30fc\u30b9\u3067\u7d50\u5408SQL\u306b\u3088\u308b\u30de\u30c3\u30d4\u30f3\u30b0\u5b9f\u88c5 \u524d\u56de","og:url":"https:\/\/ito-u-oti.com\/?p=1041","og:image":"https:\/\/ito-u-oti.com\/wp-content\/uploads\/2018\/03\/mybatis.jpg","og:image:secure_url":"https:\/\/ito-u-oti.com\/wp-content\/uploads\/2018\/03\/mybatis.jpg","og:image:width":259,"og:image:height":194,"article:published_time":"2019-06-22T04:47:57+00:00","article:modified_time":"2020-07-10T08:26:24+00:00","twitter:card":"summary","twitter:title":"\u3010Spring Boot\u3011\u3010Mybatis\u3011Xml\u30d9\u30fc\u30b9\u3067\u7d50\u5408SQL\u306b\u3088\u308b\u30de\u30c3\u30d4\u30f3\u30b0\u5b9f\u88c5 | \u30f0\u5200\u306e\u304a\u3082\u3061\u3083\u7bb1","twitter:description":"\u524d\u56de\u306e\u7d9a\u304d\u3067\u3059\u3002\u524d\u63d0\u306a\u3069\u306f1\u56de\u76ee\u306e\u8a18\u4e8b\u3092\u78ba\u8a8d\u3057\u3066\u304f\u3060\u3055\u3044\u3002 Xml\u30d9\u30fc\u30b9\u3067\u7d50\u5408SQL\u306b\u3088\u308b\u30de\u30c3\u30d4\u30f3\u30b0\u5b9f\u88c5 \u524d\u56de","twitter:creator":"@itouoti_IoT","twitter:image":"https:\/\/ito-u-oti.com\/wp-content\/uploads\/2018\/03\/mybatis.jpg"},"aioseo_meta_data":{"post_id":"1041","title":null,"description":null,"keywords":[{"label":"spring boot","value":"spring boot"},{"label":"mybatis","value":"mybatis"},{"label":"one","value":"one"},{"label":"many","value":"many"},{"label":"mapper","value":"mapper"},{"label":"annotation","value":"annotation"}],"keyphrases":null,"primary_term":null,"canonical_url":null,"og_title":"","og_description":"","og_object_type":"article","og_image_type":"default","og_image_url":null,"og_image_width":null,"og_image_height":null,"og_image_custom_url":null,"og_image_custom_fields":null,"og_video":"","og_custom_url":null,"og_article_section":"","og_article_tags":"","twitter_use_og":false,"twitter_card":"summary","twitter_image_type":"default","twitter_image_url":null,"twitter_image_custom_url":null,"twitter_image_custom_fields":null,"twitter_title":null,"twitter_description":null,"schema":{"blockGraphs":[],"customGraphs":[],"default":{"data":{"Article":[],"Course":[],"Dataset":[],"FAQPage":[],"Movie":[],"Person":[],"Product":[],"ProductReview":[],"Car":[],"Recipe":[],"Service":[],"SoftwareApplication":[],"WebPage":[]},"graphName":"","isEnabled":true},"graphs":[]},"schema_type":null,"schema_type_options":null,"pillar_content":false,"robots_default":true,"robots_noindex":false,"robots_noarchive":false,"robots_nosnippet":false,"robots_nofollow":false,"robots_noimageindex":false,"robots_noodp":false,"robots_notranslate":false,"robots_max_snippet":null,"robots_max_videopreview":null,"robots_max_imagepreview":"large","priority":null,"frequency":null,"location":null,"local_seo":null,"breadcrumb_settings":null,"limit_modified_date":false,"ai":null,"created":"2021-04-11 14:08:05","updated":"2025-06-04 06:03:04","seo_analyzer_scan_date":null},"_links":{"self":[{"href":"https:\/\/ito-u-oti.com\/index.php?rest_route=\/wp\/v2\/posts\/1041","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/ito-u-oti.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/ito-u-oti.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/ito-u-oti.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/ito-u-oti.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1041"}],"version-history":[{"count":5,"href":"https:\/\/ito-u-oti.com\/index.php?rest_route=\/wp\/v2\/posts\/1041\/revisions"}],"predecessor-version":[{"id":1218,"href":"https:\/\/ito-u-oti.com\/index.php?rest_route=\/wp\/v2\/posts\/1041\/revisions\/1218"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/ito-u-oti.com\/index.php?rest_route=\/wp\/v2\/media\/273"}],"wp:attachment":[{"href":"https:\/\/ito-u-oti.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1041"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/ito-u-oti.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1041"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/ito-u-oti.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1041"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}