Advertisement
andersonalmada

Untitled

Jul 29th, 2022
690
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 0.16 KB | None | 0 0
  1. public interface ProductRepository extends JpaRepository<Product, Integer> {
  2.  
  3.     Product findFirstByName(String name);
  4.    
  5.     List<Product> findAllByName(String name);
  6. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement