- Timestamp:
- 02/10/23 11:18:48 (21 months ago)
- Branches:
- master
- Children:
- 04153a9
- Parents:
- 7926d68
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/main/java/com/example/moviezone/repository/EventRepository.java
r7926d68 ref84238 6 6 import org.springframework.data.jpa.repository.query.Procedure; 7 7 8 import javax.transaction.Transactional; 8 9 import java.util.List; 9 10 @Transactional 10 11 public interface EventRepository extends JpaRepository<Event,Integer> { 11 12 @Procedure("project.getEventsFromCinema") … … 13 14 @Procedure("project.getEventsFromNow") 14 15 List<Event> getFilmsFromCinemaNow(); 15 16 @Procedure("project.getEventsForCustomer") 17 List<Event> getEventsForCustomer(int id); 16 18 }
Note:
See TracChangeset
for help on using the changeset viewer.