- Timestamp:
- 08/24/23 02:28:14 (15 months ago)
- Branches:
- master
- Children:
- bcb4acc
- Parents:
- 40935d3
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/main/java/com/example/moviezone/repository/DiscountRepository.java
r40935d3 r1e7126f 2 2 3 3 import com.example.moviezone.model.Discount; 4 import com.example.moviezone.model.Projection; 4 5 import org.springframework.data.jpa.repository.JpaRepository; 6 import org.springframework.data.jpa.repository.query.Procedure; 5 7 8 import javax.transaction.Transactional; 9 import java.util.List; 10 11 @Transactional 6 12 public interface DiscountRepository extends JpaRepository<Discount,Integer> { 13 @Procedure("project.getValidDiscounts") 14 List<Discount> getValidDiscounts(); 7 15 }
Note:
See TracChangeset
for help on using the changeset viewer.