Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVA

repository query spring boot

@Query("SELECT u FROM User u WHERE u.status = :status and u.name = :name")
User findUserByStatusAndNameNamedParams(
  @Param("status") Integer status, 
  @Param("name") String name);
Source by www.baeldung.com #
 
PREVIOUS NEXT
Tagged: #repository #query #spring #boot
ADD COMMENT
Topic
Name
1+1 =