Eager-load room image tags
All checks were successful
build-and-deploy / build-deploy (push) Successful in 32s
All checks were successful
build-and-deploy / build-deploy (push) Successful in 32s
This commit is contained in:
@@ -7,6 +7,7 @@ import org.springframework.data.jpa.repository.JpaRepository
|
|||||||
import java.util.UUID
|
import java.util.UUID
|
||||||
|
|
||||||
interface RoomImageRepo : JpaRepository<RoomImage, UUID> {
|
interface RoomImageRepo : JpaRepository<RoomImage, UUID> {
|
||||||
|
@org.springframework.data.jpa.repository.EntityGraph(attributePaths = ["tags"])
|
||||||
@Query(
|
@Query(
|
||||||
"""
|
"""
|
||||||
select ri
|
select ri
|
||||||
|
|||||||
Reference in New Issue
Block a user