Searching An object from @ElementCollection

前端 未结 4 2078
野性不改
野性不改 2021-02-19 06:16

I am using Spring Data JPA.

I an entity like this

public class A {

    @CollectionTable(name = \"B_ITEMS\", joinColumns = @JoinColumn(name = \"B_ID\"))
         


        
4条回答
  •  不知归路
    2021-02-19 06:55

    You seem to be asking for a basic IN query in Spring Data - findBybsIn(List bs)

提交回复
热议问题