Skip to content

Commit

Permalink
Adding test for existsByXyz methods. Fixes #1523
Browse files Browse the repository at this point in the history
  • Loading branch information
bnasslahsen committed Apr 23, 2022
1 parent 1370064 commit 5d4e485
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -70,4 +70,7 @@ public interface CustomerRepository extends CrudRepository<Customer, Long>, JpaS
@Override
@RestResource(exported = false)
<S extends Customer> S save(S entity);

@RestResource(exported = false)
boolean existsCustomerByLastname(String lastName);
}

0 comments on commit 5d4e485

Please sign in to comment.