main
Last change
on this file since ae042f4 was ae042f4, checked in by andrejtodorovski <82031894+andrejtodorovski@…>, 18 months ago |
Configured spring security, changed spring version
|
-
Property mode
set to
100644
|
File size:
531 bytes
|
Rev | Line | |
---|
[23a2bc5] | 1 | package com.example.autopartz.repository;
|
---|
| 2 |
|
---|
[feffc2f] | 3 | import com.example.autopartz.model.views.PartsForCarTypeAndCategory;
|
---|
[23a2bc5] | 4 | import org.springframework.data.jpa.repository.JpaRepository;
|
---|
| 5 | import org.springframework.stereotype.Repository;
|
---|
| 6 |
|
---|
[ae042f4] | 7 | import javax.transaction.Transactional;
|
---|
[23a2bc5] | 8 | import java.util.List;
|
---|
| 9 |
|
---|
| 10 | @Repository
|
---|
| 11 | @Transactional
|
---|
[ae042f4] | 12 | public interface PartsForCarTypeAndCategoryRepository extends JpaRepository<PartsForCarTypeAndCategory,Integer> {
|
---|
[23a2bc5] | 13 | List<PartsForCarTypeAndCategory> findAllByCartypeAndCategory(String cartype, String category);
|
---|
| 14 | }
|
---|
Note:
See
TracBrowser
for help on using the repository browser.