Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVA

jpql spring boot


 @Query("SELECT campaignUser from CampaignUser campaignUser join fetch campaignUser.campaign campaign " +
                "where campaign.codUniqueCampaign = :codUniqueCampaign " +
                "and campaignUser.codTenant = :codTenant")
 Optional<CampaignUser> findByCampaignCodUniqueCampaignAndCodTenant(String codUniqueCampaign, String codTenant);

Source by codefantasy.org #
 
PREVIOUS NEXT
Tagged: #jpql #spring #boot
ADD COMMENT
Topic
Name
3+4 =