{"id":8983,"date":"2024-03-15T01:59:18","date_gmt":"2024-03-14T16:59:18","guid":{"rendered":"https:\/\/www.silicloud.com\/ja\/blog\/%e3%83%9e%e3%82%a4%e3%83%90%e3%83%86%e3%82%a3%e3%82%b9%e3%81%a7%e3%82%b3%e3%83%ac%e3%82%af%e3%82%b7%e3%83%a7%e3%83%b3%e3%82%92%e6%b8%a1%e3%81%99%e6%96%b9%e6%b3%95%e3%81%af%e4%bd%95%e3%81%a7%e3%81%99\/"},"modified":"2025-08-03T23:10:19","modified_gmt":"2025-08-03T14:10:19","slug":"%e3%83%9e%e3%82%a4%e3%83%90%e3%83%86%e3%82%a3%e3%82%b9%e3%81%a7%e3%82%b3%e3%83%ac%e3%82%af%e3%82%b7%e3%83%a7%e3%83%b3%e3%82%92%e6%b8%a1%e3%81%99%e6%96%b9%e6%b3%95%e3%81%af%e4%bd%95%e3%81%a7%e3%81%99","status":"publish","type":"post","link":"https:\/\/www.silicloud.com\/ja\/blog\/%e3%83%9e%e3%82%a4%e3%83%90%e3%83%86%e3%82%a3%e3%82%b9%e3%81%a7%e3%82%b3%e3%83%ac%e3%82%af%e3%82%b7%e3%83%a7%e3%83%b3%e3%82%92%e6%b8%a1%e3%81%99%e6%96%b9%e6%b3%95%e3%81%af%e4%bd%95%e3%81%a7%e3%81%99\/","title":{"rendered":"MyBatis\u3067List\/\u914d\u5217\u3092\u6e21\u3059\u65b9\u6cd5\u3010\u30d1\u30e9\u30e1\u30fc\u30bf\u8a2d\u5b9a\u3011"},"content":{"rendered":"<p>Mybatis\u3067\u30b3\u30ec\u30af\u30b7\u30e7\u30f3\u3092\u6e21\u3059\u65b9\u6cd5\u306f\u4e3b\u306b2\u3064\u3042\u308a\u307e\u3059\uff1aList\u3092\u4f7f\u7528\u3059\u308b\u304b\u3001Map\u3092\u4f7f\u7528\u3059\u308b\u304b\u3067\u3059\u3002<\/p>\n<ol>\n<li>List\u3092\u4f7f\u7528\u3057\u3066\u30b3\u30ec\u30af\u30b7\u30e7\u30f3\u3092\u6e21\u3059\uff1aMapper\u30a4\u30f3\u30bf\u30fc\u30d5\u30a7\u30fc\u30b9\u3067\u30e1\u30bd\u30c3\u30c9\u3092\u5b9a\u7fa9\u3059\u308b\u969b\u306b\u3001\u76f4\u63a5List\u3092\u30d1\u30e9\u30e1\u30fc\u30bf\u3068\u3057\u3066\u6e21\u3059\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002Mybatis\u306fList\u5185\u306e\u8981\u7d20\u3092\u81ea\u52d5\u7684\u306bSQL\u30b9\u30c6\u30fc\u30c8\u30e1\u30f3\u30c8\u306b\u30d1\u30e9\u30e1\u30fc\u30bf\u3068\u3057\u3066\u6e21\u3057\u307e\u3059\u3002\u4f8b\uff1a<\/li>\n<\/ol>\n<pre class=\"post-pre\"><code><span class=\"hljs-keyword\">public<\/span> List&lt;User&gt; <span class=\"hljs-title function_\">selectUserByIds<\/span><span class=\"hljs-params\">(List&lt;Integer&gt; ids)<\/span>;\r\n<\/code><\/pre>\n<p>XML\u306e\u8a2d\u5b9a\u30d5\u30a1\u30a4\u30eb\u5185\u3067\u306f\u3001List\u30d1\u30e9\u30e1\u30fc\u30bf\u3092\u7e70\u308a\u8fd4\u3057\u51e6\u7406\u3059\u308b\u305f\u3081\u306bforeach\u30bf\u30b0\u3092\u4f7f\u7528\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002\u4ee5\u4e0b\u306b\u793a\u3057\u307e\u3059\uff1a<\/p>\n<pre class=\"post-pre\"><code><span class=\"hljs-tag\">&lt;<span class=\"hljs-name\">select<\/span> <span class=\"hljs-attr\">id<\/span>=<span class=\"hljs-string\">\"selectUserByIds\"<\/span> <span class=\"hljs-attr\">resultType<\/span>=<span class=\"hljs-string\">\"User\"<\/span>&gt;<\/span>\r\n    SELECT * FROM user WHERE id IN\r\n    <span class=\"hljs-tag\">&lt;<span class=\"hljs-name\">foreach<\/span> <span class=\"hljs-attr\">item<\/span>=<span class=\"hljs-string\">\"item\"<\/span> <span class=\"hljs-attr\">index<\/span>=<span class=\"hljs-string\">\"index\"<\/span> <span class=\"hljs-attr\">collection<\/span>=<span class=\"hljs-string\">\"ids\"<\/span> <span class=\"hljs-attr\">open<\/span>=<span class=\"hljs-string\">\"(\"<\/span> <span class=\"hljs-attr\">separator<\/span>=<span class=\"hljs-string\">\",\"<\/span> <span class=\"hljs-attr\">close<\/span>=<span class=\"hljs-string\">\")\"<\/span>&gt;<\/span>\r\n        #{item}\r\n    <span class=\"hljs-tag\">&lt;\/<span class=\"hljs-name\">foreach<\/span>&gt;<\/span>\r\n<span class=\"hljs-tag\">&lt;\/<span class=\"hljs-name\">select<\/span>&gt;<\/span>\r\n<\/code><\/pre>\n<ol>\n<li>\u30b3\u30ec\u30af\u30b7\u30e7\u30f3\u3092Map\u3092\u4f7f\u7528\u3057\u3066\u6e21\u3059\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002\u30b3\u30ec\u30af\u30b7\u30e7\u30f3\u3092Map\u5f62\u5f0f\u306b\u30d1\u30c3\u30b1\u30fc\u30b8\u3057\u3066SQL\u30b9\u30c6\u30fc\u30c8\u30e1\u30f3\u30c8\u306b\u6e21\u3059\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002Mapper\u30a4\u30f3\u30bf\u30fc\u30d5\u30a7\u30fc\u30b9\u3067\u30e1\u30bd\u30c3\u30c9\u3092\u5b9a\u7fa9\u3059\u308b\u969b\u3001Map\u3092\u30d1\u30e9\u30e1\u30fc\u30bf\u3068\u3057\u3066\u6e21\u3059\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002Map\u306e\u30ad\u30fc\u306f\u30ab\u30b9\u30bf\u30de\u30a4\u30ba\u53ef\u80fd\u3067\u3001\u5024\u306f\u30b3\u30ec\u30af\u30b7\u30e7\u30f3\u306e\u7a2e\u985e\u306b\u306a\u308a\u307e\u3059\u3002\u4f8b\u3048\u3070\uff1a<\/li>\n<\/ol>\n<pre class=\"post-pre\"><code><span class=\"hljs-keyword\">public<\/span> List&lt;User&gt; <span class=\"hljs-title function_\">selectUserByIds<\/span><span class=\"hljs-params\">(Map&lt;String, Object&gt; map)<\/span>;\r\n<\/code><\/pre>\n<p>XML\u8a2d\u5b9a\u30d5\u30a1\u30a4\u30eb\u3067\u3001Map\u306e\u30ad\u30fc\u3092\u4f7f\u7528\u3057\u3066\u30b3\u30ec\u30af\u30b7\u30e7\u30f3\u30d1\u30e9\u30e1\u30fc\u30bf\u30fc\u3092\u53d6\u5f97\u3067\u304d\u307e\u3059\u3002\u4ee5\u4e0b\u306b\u793a\u3059\u901a\u308a\uff1a<\/p>\n<pre class=\"post-pre\"><code><span class=\"hljs-tag\">&lt;<span class=\"hljs-name\">select<\/span> <span class=\"hljs-attr\">id<\/span>=<span class=\"hljs-string\">\"selectUserByIds\"<\/span> <span class=\"hljs-attr\">resultType<\/span>=<span class=\"hljs-string\">\"User\"<\/span>&gt;<\/span>\r\n    SELECT * FROM user WHERE id IN\r\n    <span class=\"hljs-tag\">&lt;<span class=\"hljs-name\">foreach<\/span> <span class=\"hljs-attr\">item<\/span>=<span class=\"hljs-string\">\"id\"<\/span> <span class=\"hljs-attr\">collection<\/span>=<span class=\"hljs-string\">\"ids\"<\/span> <span class=\"hljs-attr\">open<\/span>=<span class=\"hljs-string\">\"(\"<\/span> <span class=\"hljs-attr\">separator<\/span>=<span class=\"hljs-string\">\",\"<\/span> <span class=\"hljs-attr\">close<\/span>=<span class=\"hljs-string\">\")\"<\/span>&gt;<\/span>\r\n        #{id}\r\n    <span class=\"hljs-tag\">&lt;\/<span class=\"hljs-name\">foreach<\/span>&gt;<\/span>\r\n<span class=\"hljs-tag\">&lt;\/<span class=\"hljs-name\">select<\/span>&gt;<\/span>\r\n<\/code><\/pre>\n<p>\u5b9f\u969b\u306e\u958b\u767a\u3067\u306f\u3001\u8981\u4ef6\u306b\u5fdc\u3058\u3066\u3001\u3053\u308c\u30892\u3064\u306e\u65b9\u6cd5\u306e\u3046\u3061\u9069\u5207\u306a\u65b9\u6cd5\u3092\u9078\u629e\u3057\u3066\u3001SQL\u30b9\u30c6\u30fc\u30c8\u30e1\u30f3\u30c8\u306b\u30b3\u30ec\u30af\u30b7\u30e7\u30f3\u30d1\u30e9\u30e1\u30fc\u30bf\u3092\u52b9\u679c\u7684\u306b\u6e21\u3059\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Mybatis\u3067\u30b3\u30ec\u30af\u30b7\u30e7\u30f3\u3092\u6e21\u3059\u65b9\u6cd5\u306f\u4e3b\u306b2\u3064\u3042\u308a\u307e\u3059\uff1aList\u3092\u4f7f\u7528\u3059\u308b\u304b\u3001Map\u3092\u4f7f\u7528\u3059\u308b\u304b\u3067\u3059\u3002 List\u3092\u4f7f\u7528\u3057\u3066\u30b3\u30ec\u30af\u30b7\u30e7\u30f3\u3092\u6e21\u3059\uff1aMapper\u30a4\u30f3\u30bf\u30fc\u30d5\u30a7\u30fc\u30b9\u3067\u30e1\u30bd\u30c3\u30c9\u3092\u5b9a\u7fa9\u3059\u308b\u969b\u306b\u3001\u76f4\u63a5List\u3092\u30d1\u30e9\u30e1\u30fc [&hellip;]<\/p>\n","protected":false},"author":11,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[42,766,119,403,408],"class_list":["post-8983","post","type-post","status-publish","format-standard","hentry","category-uncategorized","tag-java","tag-mybatis","tag-sql","tag-403","tag-408"],"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v21.5 (Yoast SEO v21.5) - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>MyBatis\u3067List\/\u914d\u5217\u3092\u6e21\u3059\u65b9\u6cd5\u3010\u30d1\u30e9\u30e1\u30fc\u30bf\u8a2d\u5b9a\u3011 - Blog - Silicon Cloud<\/title>\n<meta name=\"description\" content=\"MyBatis\u3067List\u3084\u914d\u5217\u306a\u3069\u306e\u30b3\u30ec\u30af\u30b7\u30e7\u30f3\u3092SQL\u306b\u6e21\u3059\u65b9\u6cd5\u3092\u89e3\u8aac\u3002\u30d1\u30e9\u30e1\u30fc\u30bf\u8a2d\u5b9a\u3001\u66f8\u304d\u65b9\u306e\u6ce8\u610f\u70b9\u3001\u52d5\u7684SQL\u3067\u306e\u6d3b\u7528\u4f8b\u307e\u3067\u3001\u30b5\u30f3\u30d7\u30eb\u30b3\u30fc\u30c9\u4ed8\u304d\u3067\u308f\u304b\u308a\u3084\u3059\u304f\u8aac\u660e\u3057\u307e\u3059\u3002\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.silicloud.com\/ja\/blog\/\u30de\u30a4\u30d0\u30c6\u30a3\u30b9\u3067\u30b3\u30ec\u30af\u30b7\u30e7\u30f3\u3092\u6e21\u3059\u65b9\u6cd5\u306f\u4f55\u3067\u3059\/\" \/>\n<meta property=\"og:locale\" content=\"ja_JP\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"MyBatis\u3067List\/\u914d\u5217\u3092\u6e21\u3059\u65b9\u6cd5\u3010\u30d1\u30e9\u30e1\u30fc\u30bf\u8a2d\u5b9a\u3011\" \/>\n<meta property=\"og:description\" content=\"MyBatis\u3067List\u3084\u914d\u5217\u306a\u3069\u306e\u30b3\u30ec\u30af\u30b7\u30e7\u30f3\u3092SQL\u306b\u6e21\u3059\u65b9\u6cd5\u3092\u89e3\u8aac\u3002\u30d1\u30e9\u30e1\u30fc\u30bf\u8a2d\u5b9a\u3001\u66f8\u304d\u65b9\u306e\u6ce8\u610f\u70b9\u3001\u52d5\u7684SQL\u3067\u306e\u6d3b\u7528\u4f8b\u307e\u3067\u3001\u30b5\u30f3\u30d7\u30eb\u30b3\u30fc\u30c9\u4ed8\u304d\u3067\u308f\u304b\u308a\u3084\u3059\u304f\u8aac\u660e\u3057\u307e\u3059\u3002\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.silicloud.com\/ja\/blog\/\u30de\u30a4\u30d0\u30c6\u30a3\u30b9\u3067\u30b3\u30ec\u30af\u30b7\u30e7\u30f3\u3092\u6e21\u3059\u65b9\u6cd5\u306f\u4f55\u3067\u3059\/\" \/>\n<meta property=\"og:site_name\" content=\"Blog - Silicon Cloud\" \/>\n<meta property=\"article:published_time\" content=\"2024-03-14T16:59:18+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2025-08-03T14:10:19+00:00\" \/>\n<meta name=\"author\" content=\"\u512a\u6597, \u671d\u967d\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"\u57f7\u7b46\u8005\" \/>\n\t<meta name=\"twitter:data1\" content=\"\u512a\u6597, \u671d\u967d\" \/>\n\t<meta name=\"twitter:label2\" content=\"\u63a8\u5b9a\u8aad\u307f\u53d6\u308a\u6642\u9593\" \/>\n\t<meta name=\"twitter:data2\" content=\"3\u5206\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.silicloud.com\/ja\/blog\/%e3%83%9e%e3%82%a4%e3%83%90%e3%83%86%e3%82%a3%e3%82%b9%e3%81%a7%e3%82%b3%e3%83%ac%e3%82%af%e3%82%b7%e3%83%a7%e3%83%b3%e3%82%92%e6%b8%a1%e3%81%99%e6%96%b9%e6%b3%95%e3%81%af%e4%bd%95%e3%81%a7%e3%81%99\/\",\"url\":\"https:\/\/www.silicloud.com\/ja\/blog\/%e3%83%9e%e3%82%a4%e3%83%90%e3%83%86%e3%82%a3%e3%82%b9%e3%81%a7%e3%82%b3%e3%83%ac%e3%82%af%e3%82%b7%e3%83%a7%e3%83%b3%e3%82%92%e6%b8%a1%e3%81%99%e6%96%b9%e6%b3%95%e3%81%af%e4%bd%95%e3%81%a7%e3%81%99\/\",\"name\":\"MyBatis\u3067List\/\u914d\u5217\u3092\u6e21\u3059\u65b9\u6cd5\u3010\u30d1\u30e9\u30e1\u30fc\u30bf\u8a2d\u5b9a\u3011 - Blog - Silicon Cloud\",\"isPartOf\":{\"@id\":\"https:\/\/www.silicloud.com\/ja\/blog\/#website\"},\"datePublished\":\"2024-03-14T16:59:18+00:00\",\"dateModified\":\"2025-08-03T14:10:19+00:00\",\"author\":{\"@id\":\"https:\/\/www.silicloud.com\/ja\/blog\/#\/schema\/person\/cab7534c71201607a41f395de14d7d28\"},\"description\":\"MyBatis\u3067List\u3084\u914d\u5217\u306a\u3069\u306e\u30b3\u30ec\u30af\u30b7\u30e7\u30f3\u3092SQL\u306b\u6e21\u3059\u65b9\u6cd5\u3092\u89e3\u8aac\u3002\u30d1\u30e9\u30e1\u30fc\u30bf\u8a2d\u5b9a\u3001\u66f8\u304d\u65b9\u306e\u6ce8\u610f\u70b9\u3001\u52d5\u7684SQL\u3067\u306e\u6d3b\u7528\u4f8b\u307e\u3067\u3001\u30b5\u30f3\u30d7\u30eb\u30b3\u30fc\u30c9\u4ed8\u304d\u3067\u308f\u304b\u308a\u3084\u3059\u304f\u8aac\u660e\u3057\u307e\u3059\u3002\",\"breadcrumb\":{\"@id\":\"https:\/\/www.silicloud.com\/ja\/blog\/%e3%83%9e%e3%82%a4%e3%83%90%e3%83%86%e3%82%a3%e3%82%b9%e3%81%a7%e3%82%b3%e3%83%ac%e3%82%af%e3%82%b7%e3%83%a7%e3%83%b3%e3%82%92%e6%b8%a1%e3%81%99%e6%96%b9%e6%b3%95%e3%81%af%e4%bd%95%e3%81%a7%e3%81%99\/#breadcrumb\"},\"inLanguage\":\"ja\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.silicloud.com\/ja\/blog\/%e3%83%9e%e3%82%a4%e3%83%90%e3%83%86%e3%82%a3%e3%82%b9%e3%81%a7%e3%82%b3%e3%83%ac%e3%82%af%e3%82%b7%e3%83%a7%e3%83%b3%e3%82%92%e6%b8%a1%e3%81%99%e6%96%b9%e6%b3%95%e3%81%af%e4%bd%95%e3%81%a7%e3%81%99\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.silicloud.com\/ja\/blog\/%e3%83%9e%e3%82%a4%e3%83%90%e3%83%86%e3%82%a3%e3%82%b9%e3%81%a7%e3%82%b3%e3%83%ac%e3%82%af%e3%82%b7%e3%83%a7%e3%83%b3%e3%82%92%e6%b8%a1%e3%81%99%e6%96%b9%e6%b3%95%e3%81%af%e4%bd%95%e3%81%a7%e3%81%99\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u9996\u9875\",\"item\":\"https:\/\/www.silicloud.com\/ja\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"MyBatis\u3067List\/\u914d\u5217\u3092\u6e21\u3059\u65b9\u6cd5\u3010\u30d1\u30e9\u30e1\u30fc\u30bf\u8a2d\u5b9a\u3011\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.silicloud.com\/ja\/blog\/#website\",\"url\":\"https:\/\/www.silicloud.com\/ja\/blog\/\",\"name\":\"Blog - Silicon Cloud\",\"description\":\"\",\"inLanguage\":\"ja\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.silicloud.com\/ja\/blog\/#\/schema\/person\/cab7534c71201607a41f395de14d7d28\",\"name\":\"\u512a\u6597, \u671d\u967d\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"ja\",\"@id\":\"https:\/\/www.silicloud.com\/ja\/blog\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/56ecb1d20648a2ff67709eeaa7b6eddeb4d52aca0d46febc7f12bbef507187d0?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/56ecb1d20648a2ff67709eeaa7b6eddeb4d52aca0d46febc7f12bbef507187d0?s=96&d=mm&r=g\",\"caption\":\"\u512a\u6597, \u671d\u967d\"},\"url\":\"https:\/\/www.silicloud.com\/ja\/blog\/author\/yutoasahi\/\"},{\"@type\":\"ImageObject\",\"inLanguage\":\"ja\",\"@id\":\"https:\/\/www.silicloud.com\/ja\/blog\/%e3%83%9e%e3%82%a4%e3%83%90%e3%83%86%e3%82%a3%e3%82%b9%e3%81%a7%e3%82%b3%e3%83%ac%e3%82%af%e3%82%b7%e3%83%a7%e3%83%b3%e3%82%92%e6%b8%a1%e3%81%99%e6%96%b9%e6%b3%95%e3%81%af%e4%bd%95%e3%81%a7%e3%81%99\/#local-main-organization-logo\",\"url\":\"\",\"contentUrl\":\"\",\"caption\":\"Blog - Silicon Cloud\"}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"MyBatis\u3067List\/\u914d\u5217\u3092\u6e21\u3059\u65b9\u6cd5\u3010\u30d1\u30e9\u30e1\u30fc\u30bf\u8a2d\u5b9a\u3011 - Blog - Silicon Cloud","description":"MyBatis\u3067List\u3084\u914d\u5217\u306a\u3069\u306e\u30b3\u30ec\u30af\u30b7\u30e7\u30f3\u3092SQL\u306b\u6e21\u3059\u65b9\u6cd5\u3092\u89e3\u8aac\u3002\u30d1\u30e9\u30e1\u30fc\u30bf\u8a2d\u5b9a\u3001\u66f8\u304d\u65b9\u306e\u6ce8\u610f\u70b9\u3001\u52d5\u7684SQL\u3067\u306e\u6d3b\u7528\u4f8b\u307e\u3067\u3001\u30b5\u30f3\u30d7\u30eb\u30b3\u30fc\u30c9\u4ed8\u304d\u3067\u308f\u304b\u308a\u3084\u3059\u304f\u8aac\u660e\u3057\u307e\u3059\u3002","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.silicloud.com\/ja\/blog\/\u30de\u30a4\u30d0\u30c6\u30a3\u30b9\u3067\u30b3\u30ec\u30af\u30b7\u30e7\u30f3\u3092\u6e21\u3059\u65b9\u6cd5\u306f\u4f55\u3067\u3059\/","og_locale":"ja_JP","og_type":"article","og_title":"MyBatis\u3067List\/\u914d\u5217\u3092\u6e21\u3059\u65b9\u6cd5\u3010\u30d1\u30e9\u30e1\u30fc\u30bf\u8a2d\u5b9a\u3011","og_description":"MyBatis\u3067List\u3084\u914d\u5217\u306a\u3069\u306e\u30b3\u30ec\u30af\u30b7\u30e7\u30f3\u3092SQL\u306b\u6e21\u3059\u65b9\u6cd5\u3092\u89e3\u8aac\u3002\u30d1\u30e9\u30e1\u30fc\u30bf\u8a2d\u5b9a\u3001\u66f8\u304d\u65b9\u306e\u6ce8\u610f\u70b9\u3001\u52d5\u7684SQL\u3067\u306e\u6d3b\u7528\u4f8b\u307e\u3067\u3001\u30b5\u30f3\u30d7\u30eb\u30b3\u30fc\u30c9\u4ed8\u304d\u3067\u308f\u304b\u308a\u3084\u3059\u304f\u8aac\u660e\u3057\u307e\u3059\u3002","og_url":"https:\/\/www.silicloud.com\/ja\/blog\/\u30de\u30a4\u30d0\u30c6\u30a3\u30b9\u3067\u30b3\u30ec\u30af\u30b7\u30e7\u30f3\u3092\u6e21\u3059\u65b9\u6cd5\u306f\u4f55\u3067\u3059\/","og_site_name":"Blog - Silicon Cloud","article_published_time":"2024-03-14T16:59:18+00:00","article_modified_time":"2025-08-03T14:10:19+00:00","author":"\u512a\u6597, \u671d\u967d","twitter_card":"summary_large_image","twitter_misc":{"\u57f7\u7b46\u8005":"\u512a\u6597, \u671d\u967d","\u63a8\u5b9a\u8aad\u307f\u53d6\u308a\u6642\u9593":"3\u5206"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.silicloud.com\/ja\/blog\/%e3%83%9e%e3%82%a4%e3%83%90%e3%83%86%e3%82%a3%e3%82%b9%e3%81%a7%e3%82%b3%e3%83%ac%e3%82%af%e3%82%b7%e3%83%a7%e3%83%b3%e3%82%92%e6%b8%a1%e3%81%99%e6%96%b9%e6%b3%95%e3%81%af%e4%bd%95%e3%81%a7%e3%81%99\/","url":"https:\/\/www.silicloud.com\/ja\/blog\/%e3%83%9e%e3%82%a4%e3%83%90%e3%83%86%e3%82%a3%e3%82%b9%e3%81%a7%e3%82%b3%e3%83%ac%e3%82%af%e3%82%b7%e3%83%a7%e3%83%b3%e3%82%92%e6%b8%a1%e3%81%99%e6%96%b9%e6%b3%95%e3%81%af%e4%bd%95%e3%81%a7%e3%81%99\/","name":"MyBatis\u3067List\/\u914d\u5217\u3092\u6e21\u3059\u65b9\u6cd5\u3010\u30d1\u30e9\u30e1\u30fc\u30bf\u8a2d\u5b9a\u3011 - Blog - Silicon Cloud","isPartOf":{"@id":"https:\/\/www.silicloud.com\/ja\/blog\/#website"},"datePublished":"2024-03-14T16:59:18+00:00","dateModified":"2025-08-03T14:10:19+00:00","author":{"@id":"https:\/\/www.silicloud.com\/ja\/blog\/#\/schema\/person\/cab7534c71201607a41f395de14d7d28"},"description":"MyBatis\u3067List\u3084\u914d\u5217\u306a\u3069\u306e\u30b3\u30ec\u30af\u30b7\u30e7\u30f3\u3092SQL\u306b\u6e21\u3059\u65b9\u6cd5\u3092\u89e3\u8aac\u3002\u30d1\u30e9\u30e1\u30fc\u30bf\u8a2d\u5b9a\u3001\u66f8\u304d\u65b9\u306e\u6ce8\u610f\u70b9\u3001\u52d5\u7684SQL\u3067\u306e\u6d3b\u7528\u4f8b\u307e\u3067\u3001\u30b5\u30f3\u30d7\u30eb\u30b3\u30fc\u30c9\u4ed8\u304d\u3067\u308f\u304b\u308a\u3084\u3059\u304f\u8aac\u660e\u3057\u307e\u3059\u3002","breadcrumb":{"@id":"https:\/\/www.silicloud.com\/ja\/blog\/%e3%83%9e%e3%82%a4%e3%83%90%e3%83%86%e3%82%a3%e3%82%b9%e3%81%a7%e3%82%b3%e3%83%ac%e3%82%af%e3%82%b7%e3%83%a7%e3%83%b3%e3%82%92%e6%b8%a1%e3%81%99%e6%96%b9%e6%b3%95%e3%81%af%e4%bd%95%e3%81%a7%e3%81%99\/#breadcrumb"},"inLanguage":"ja","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.silicloud.com\/ja\/blog\/%e3%83%9e%e3%82%a4%e3%83%90%e3%83%86%e3%82%a3%e3%82%b9%e3%81%a7%e3%82%b3%e3%83%ac%e3%82%af%e3%82%b7%e3%83%a7%e3%83%b3%e3%82%92%e6%b8%a1%e3%81%99%e6%96%b9%e6%b3%95%e3%81%af%e4%bd%95%e3%81%a7%e3%81%99\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.silicloud.com\/ja\/blog\/%e3%83%9e%e3%82%a4%e3%83%90%e3%83%86%e3%82%a3%e3%82%b9%e3%81%a7%e3%82%b3%e3%83%ac%e3%82%af%e3%82%b7%e3%83%a7%e3%83%b3%e3%82%92%e6%b8%a1%e3%81%99%e6%96%b9%e6%b3%95%e3%81%af%e4%bd%95%e3%81%a7%e3%81%99\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u9996\u9875","item":"https:\/\/www.silicloud.com\/ja\/blog\/"},{"@type":"ListItem","position":2,"name":"MyBatis\u3067List\/\u914d\u5217\u3092\u6e21\u3059\u65b9\u6cd5\u3010\u30d1\u30e9\u30e1\u30fc\u30bf\u8a2d\u5b9a\u3011"}]},{"@type":"WebSite","@id":"https:\/\/www.silicloud.com\/ja\/blog\/#website","url":"https:\/\/www.silicloud.com\/ja\/blog\/","name":"Blog - Silicon Cloud","description":"","inLanguage":"ja"},{"@type":"Person","@id":"https:\/\/www.silicloud.com\/ja\/blog\/#\/schema\/person\/cab7534c71201607a41f395de14d7d28","name":"\u512a\u6597, \u671d\u967d","image":{"@type":"ImageObject","inLanguage":"ja","@id":"https:\/\/www.silicloud.com\/ja\/blog\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/56ecb1d20648a2ff67709eeaa7b6eddeb4d52aca0d46febc7f12bbef507187d0?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/56ecb1d20648a2ff67709eeaa7b6eddeb4d52aca0d46febc7f12bbef507187d0?s=96&d=mm&r=g","caption":"\u512a\u6597, \u671d\u967d"},"url":"https:\/\/www.silicloud.com\/ja\/blog\/author\/yutoasahi\/"},{"@type":"ImageObject","inLanguage":"ja","@id":"https:\/\/www.silicloud.com\/ja\/blog\/%e3%83%9e%e3%82%a4%e3%83%90%e3%83%86%e3%82%a3%e3%82%b9%e3%81%a7%e3%82%b3%e3%83%ac%e3%82%af%e3%82%b7%e3%83%a7%e3%83%b3%e3%82%92%e6%b8%a1%e3%81%99%e6%96%b9%e6%b3%95%e3%81%af%e4%bd%95%e3%81%a7%e3%81%99\/#local-main-organization-logo","url":"","contentUrl":"","caption":"Blog - Silicon Cloud"}]}},"_links":{"self":[{"href":"https:\/\/www.silicloud.com\/ja\/blog\/wp-json\/wp\/v2\/posts\/8983","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.silicloud.com\/ja\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.silicloud.com\/ja\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.silicloud.com\/ja\/blog\/wp-json\/wp\/v2\/users\/11"}],"replies":[{"embeddable":true,"href":"https:\/\/www.silicloud.com\/ja\/blog\/wp-json\/wp\/v2\/comments?post=8983"}],"version-history":[{"count":3,"href":"https:\/\/www.silicloud.com\/ja\/blog\/wp-json\/wp\/v2\/posts\/8983\/revisions"}],"predecessor-version":[{"id":330034,"href":"https:\/\/www.silicloud.com\/ja\/blog\/wp-json\/wp\/v2\/posts\/8983\/revisions\/330034"}],"wp:attachment":[{"href":"https:\/\/www.silicloud.com\/ja\/blog\/wp-json\/wp\/v2\/media?parent=8983"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.silicloud.com\/ja\/blog\/wp-json\/wp\/v2\/categories?post=8983"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.silicloud.com\/ja\/blog\/wp-json\/wp\/v2\/tags?post=8983"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}