Skip to content

Commit 53c1553

Browse files
committed
Revert "fix hibernate no session with left join fetch"
This reverts commit bc9aa84.
1 parent bc9aa84 commit 53c1553

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

src/main/java/de/tum/cit/aet/artemis/atlas/repository/CourseLearnerProfileRepository.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,6 @@ public interface CourseLearnerProfileRepository extends ArtemisJpaRepository<Cou
4848
@Query("""
4949
SELECT clp
5050
FROM CourseLearnerProfile clp
51-
LEFT JOIN FETCH clp.course
5251
WHERE clp.learnerProfile.user.login = :login AND clp.course = :course
5352
""")
5453
Optional<CourseLearnerProfile> findByLoginAndCourse(@Param("login") String login, @Param("course") Course course);

0 commit comments

Comments
 (0)