Code Explainers
Code explainers tagged #jpql
java
@Repository public interface SubscriptionRepository extends JpaRepository<Subscription, Long> { @Modifying(clearAutomatically = true, flushAutomatically = true)
Bulk JPQL updates in a Spring Data repository
jpql
bulk-update
modifying-query
Intermediate
5 steps
java
package com.example.orders.repository; import com.example.orders.domain.Order; import org.springframework.data.jpa.repository.JpaRepository;
Projection interfaces in Spring Data JPA
projections
jpql
aggregation
Intermediate
7 steps