Skip to content
This repository has been archived by the owner on Nov 3, 2020. It is now read-only.

Commit

Permalink
bug fix
Browse files Browse the repository at this point in the history
  • Loading branch information
gaetancollaud committed Oct 4, 2015
1 parent 0173832 commit 1ec5944
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ public interface UserRepository extends JpaRepository<UserEO, Integer>{
Optional<UserEO> findByLoginOrEmail(@Param("login") String login);

@Override
@Query("SELECT u "
@Query("SELECT DISTINCT u "
+ " FROM UserEO u "
+ " LEFT JOIN FETCH u.balance b "
+ " LEFT JOIN FETCH u.membershipType mt "
Expand Down

0 comments on commit 1ec5944

Please sign in to comment.