Changeset ae042f4 for src/main/java/com/example/autopartz/repository/PartsForCarTypeAndCategoryRepository.java
- Timestamp:
- 01/04/23 02:49:26 (18 months ago)
- Branches:
- main
- Children:
- ab952ab
- Parents:
- 6832924
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/main/java/com/example/autopartz/repository/PartsForCarTypeAndCategoryRepository.java
r6832924 rae042f4 2 2 3 3 import com.example.autopartz.model.views.PartsForCarTypeAndCategory; 4 import jakarta.transaction.Transactional;5 4 import org.springframework.data.jpa.repository.JpaRepository; 6 5 import org.springframework.stereotype.Repository; 7 6 7 import javax.transaction.Transactional; 8 8 import java.util.List; 9 9 10 10 @Repository 11 11 @Transactional 12 public interface PartsForCarTypeAndCategoryRepository extends JpaRepository<PartsForCarTypeAndCategory, Long> {12 public interface PartsForCarTypeAndCategoryRepository extends JpaRepository<PartsForCarTypeAndCategory,Integer> { 13 13 List<PartsForCarTypeAndCategory> findAllByCartypeAndCategory(String cartype, String category); 14 14 }
Note:
See TracChangeset
for help on using the changeset viewer.