Skip to content

Commit

Permalink
fixes : constraint violationException while setting Scheme Category a…
Browse files Browse the repository at this point in the history
…nd Type
  • Loading branch information
rajadilipkolli committed Jan 11, 2024
1 parent 6e74cc2 commit 34a6c96
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ public interface MFSchemeTypeRepository extends JpaRepository<MFSchemeTypeEntity

@Query(
"""
select o from MFSchemeTypeEntity o JOIN FETCH o.mfSchemeEntities ms
select o from MFSchemeTypeEntity o LEFT JOIN FETCH o.mfSchemeEntities ms
where o.schemeCategory = :schemeCategory and o.schemeType = :schemeType
""")
@Transactional(readOnly = true)
Expand Down

0 comments on commit 34a6c96

Please sign in to comment.