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 findUserByUserStatusAndUserName(@Param("status") Integer userStatus, 
  @Param("name") String userName);
Source by www.baeldung.com #
 
PREVIOUS NEXT
Tagged: #repository #query #spring #boot
ADD COMMENT
Topic
Name
4+9 =