Changeset 632e3d8 for src/main/java/com/example/moviezone/repository
- Timestamp:
- 02/08/23 14:41:27 (23 months ago)
- Branches:
- master
- Children:
- 2c7a732
- Parents:
- 39a45e6 (diff), 90317ea (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - Location:
- src/main/java/com/example/moviezone/repository
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
src/main/java/com/example/moviezone/repository/EventRepository.java
r39a45e6 r632e3d8 2 2 3 3 import com.example.moviezone.model.Event; 4 import com.example.moviezone.model.Film; 4 5 import org.springframework.data.jpa.repository.JpaRepository; 6 import org.springframework.data.jpa.repository.query.Procedure; 7 8 import java.util.List; 5 9 6 10 public interface EventRepository extends JpaRepository<Event,Integer> { 11 @Procedure("project.getEventsFromCinema") 12 List<Event> getFilmsFromCinema(int id); 13 @Procedure("project.getEventsFromNow") 14 List<Event> getFilmsFromCinemaNow(); 15 7 16 } -
src/main/java/com/example/moviezone/repository/FilmRepository.java
r39a45e6 r632e3d8 17 17 @Procedure("project.getFilmsFromCinema1") 18 18 List<Film> getFilmsFromCinema(int id); 19 19 @Procedure("project.getFilmsFromCinemaNow") 20 List<Film> getFilmsFromCinemaNow(int id); 21 @Procedure("project.getFilmsNow") 22 List<Film> getFilmsNow(); 20 23 }
Note:
See TracChangeset
for help on using the changeset viewer.