Changeset eb5426c for src/main/java/com/example/moviezone/repository
- Timestamp:
- 02/06/23 03:59:41 (22 months ago)
- Branches:
- master
- Children:
- f8ef9bd
- Parents:
- 448bd84
- Location:
- src/main/java/com/example/moviezone/repository
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
src/main/java/com/example/moviezone/repository/FilmRepository.java
r448bd84 reb5426c 3 3 import com.example.moviezone.model.Film; 4 4 import org.springframework.data.jpa.repository.JpaRepository; 5 import org.springframework.data.jpa.repository.query.Procedure; 6 import org.springframework.data.repository.query.Param; 7 8 import java.util.List; 5 9 6 10 public interface FilmRepository extends JpaRepository<Film,Integer> { 11 7 12 } -
src/main/java/com/example/moviezone/repository/ProjectionRepository.java
r448bd84 reb5426c 9 9 public interface ProjectionRepository extends JpaRepository<Projection,Integer> { 10 10 // NOTE: CHANGE THIS WITH MATERIALIZED VIEW 11 List<Projection> findAllByDate_time_startBefore(LocalDate datum);11 //List<Projection> findAllBydate_time_startBefore(LocalDate datum); 12 12 }
Note:
See TracChangeset
for help on using the changeset viewer.