{"provider_name":"Hatena Blog","categories":["Java","Spring Boot","Spring Data JPA"],"published":"2022-05-31 20:45:08","height":"190","author_name":"neginegitoro","type":"rich","provider_url":"https://hatena.blog","blog_url":"https://neginegitoro.hatenablog.com/","author_url":"https://blog.hatena.ne.jp/neginegitoro/","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fneginegitoro.hatenablog.com%2Fentry%2Fspring-data-jpa-join-query-result\" title=\"\u3010Spring Data JPA\u3011\u30c6\u30fc\u30d6\u30eb\u7d50\u5408\u3092\u542b\u3080\u30af\u30a8\u30ea\u306e\u7d50\u679c\u3092\u53d7\u3051\u53d6\u308b - \u306d\u304e\u3068\u308d\u653e\u6d6a\u8a18\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","image_url":"https://cdn.blog.st-hatena.com/images/theme/og-image-1500.png","title":"\u3010Spring Data JPA\u3011\u30c6\u30fc\u30d6\u30eb\u7d50\u5408\u3092\u542b\u3080\u30af\u30a8\u30ea\u306e\u7d50\u679c\u3092\u53d7\u3051\u53d6\u308b","url":"https://neginegitoro.hatenablog.com/entry/spring-data-jpa-join-query-result","description":"INNER JOIN \u306a\u3069\u306e\u30c6\u30fc\u30d6\u30eb\u7d50\u5408\u3092\u542b\u3080\u30af\u30a8\u30ea\u306e\u7d50\u679c\u306e\u53d7\u3051\u53d6\u308a\u65b9\u3067\u8a70\u307e\u3063\u305f\u306e\u3067\u30e1\u30e2\u3002 @SqlRusltSetMapping\u3092\u4f7f\u7528\u3059\u308b\u304b\u3001Object\u306e\u914d\u5217\u3092\u76ee\u7684\u306e\u578b\u306b\u5909\u63db\u3059\u308b\u65b9\u6cd5\u304c\u3042\u308b\u3002 \u4f8b\u3068\u3057\u3066\u3001Items\u30c6\u30fc\u30d6\u30eb\u3068Prices\u30c6\u30fc\u30d6\u30eb\u3092\u7d50\u5408\u3057\u3001Item\u3054\u3068\u306ePrice\u306e\u7d50\u679c\u3092\u53d7\u3051\u53d6\u308b\u3002 \u30c6\u30fc\u30d6\u30eb\u306e\u5b9a\u7fa9 CREATE TABLE items( id BIGINT NOT NULL PRIMARY KEY AUTO_INCREMENT, name VARCHAR(16) NOT NULL ); CREATE TABLE prices( id BIGINT NOT NULL PRIMAR\u2026","blog_title":"\u306d\u304e\u3068\u308d\u653e\u6d6a\u8a18","width":"100%","version":"1.0"}