1. Project Clover database Dom fev 10 2019 22:52:55 BRST
  2. Package rest.db1

File FirstAccountRepository.java

 

Code metrics

0
0
0
1
13
9
0
-
-
0
-

Classes

Class Line # Actions
FirstAccountRepository 10 0 - 0 0
-1.0 -
 

Contributing tests

No tests hitting this source file were found.

Source view

1    package rest.db1;
2   
3    import java.util.List;
4   
5    import org.springframework.data.repository.PagingAndSortingRepository;
6    import org.springframework.data.repository.query.Param;
7    import org.springframework.data.rest.core.annotation.RepositoryRestResource;
8   
9    @RepositoryRestResource(collectionResourceRel = "account1", path = "account1")
 
10    public interface FirstAccountRepository extends PagingAndSortingRepository<FirstAccount, Long> {
11    List<FirstAccount> findByName(@Param("name") String name);
12   
13    }