Skip to content

Commit 39a7202

Browse files
SpringBootDataJpa-findByMethod-AllColumns
1 parent 7fc3fa4 commit 39a7202

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

SpringBootDataJpa/SpringBootDataJpa-Mysql-FindBy/src/main/java/com/app/repo/ProductRepository.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ public interface ProductRepository extends JpaRepository<Product, Integer> {
5656
List<Product> findByProdCostOrderByProdCodeDesc(Double pcost); // in desending order
5757

5858

59-
// 9. ... where pcode like "%A%" and pid between ? and ?
59+
// 9 ... where pcode like "%A%" and pid between ? and ?
6060
List<Product> findByProdCodeLikeAndProdIdBetween(String pcode,Integer pid1,Integer pid2);
6161

6262

0 commit comments

Comments
 (0)