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

File SecondAccountRepository.java

 

Code metrics

0
0
0
1
14
9
0
-
-
0
-

Classes

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

Contributing tests

No tests hitting this source file were found.

Source view

1    package rest.db2;
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 = "account2", path = "account2")
 
10    public interface SecondAccountRepository extends PagingAndSortingRepository<SecondAccount, Long> {
11   
12    List<SecondAccount> findByName(@Param("name") String name);
13   
14    }