Answers for "how to add where clause in spring jpa entity"

1

spring boot jpa in clause

@Query( "select o from MyObject o where inventoryId in :ids" )
List<MyObject> findByInventoryIds(@Param("ids") List<Long> inventoryIdList);
Posted by: Guest on May-29-2020

Code answers related to "how to add where clause in spring jpa entity"

Code answers related to "Java"

Java Answers by Framework

Browse Popular Code Answers by Language