- Timestamp:
- 02/09/23 14:06:45 (21 months ago)
- Branches:
- master
- Children:
- 6a9006d, a9ffccd
- Parents:
- 0ba5d1a
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/main/java/com/example/moviezone/repository/TicketRepository.java
r0ba5d1a r00fa72f 4 4 import com.example.moviezone.model.Ticket; 5 5 import org.springframework.data.jpa.repository.JpaRepository; 6 import org.springframework.data.jpa.repository.query.Procedure; 6 7 import org.springframework.stereotype.Repository; 7 8 … … 10 11 public interface TicketRepository extends JpaRepository<Ticket,Integer> { 11 12 List<Ticket> findAllByCustomer(Customer customer); 13 @Procedure("project.getPriceForTicket") 14 Integer getPriceForTicket(int id); 12 15 }
Note:
See TracChangeset
for help on using the changeset viewer.