Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
JPA で親と関係があるエンティティのリストを返すにはどうすればよいですか?
という名前のプロパティに @OneToMany マッピングを持つ User エンティティがありますpets。子エンティティは Pet 型です。それは一方向の関係にすぎません。
pets
ユーザーが指定したすべてのペットを返すJPAで結合を作成するにはどうすればよいですか?