Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVA

spring boot jpa in clause

@Query( "select o from MyObject o where inventoryId in :ids" )
List<MyObject> findByInventoryIds(@Param("ids") List<Long> inventoryIdList);
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #spring #boot #jpa #clause
ADD COMMENT
Topic
Name
4+9 =