1@Query("SELECT u FROM User u WHERE u.status = :status and u.name = :name")User findUserByStatusAndNameNamedParams( @Param("status") Integer status, @Param("name") String name);
1@Query("SELECT u FROM User u WHERE u.status = :status and u.name = :name")
2User findUserByUserStatusAndUserName(@Param("status") Integer userStatus,
3 @Param("name") String userName);
4
1@Query("SELECT u FROM User u WHERE u.status = :status and u.name = :name")
2User findUserByStatusAndNameNamedParams(
3 @Param("status") Integer status,
4 @Param("name") String name);
5