Skip to content
Snippets Groups Projects
Commit 58d786af authored by kbeyro's avatar kbeyro
Browse files

change query

parent 04714f71
No related branches found
No related tags found
1 merge request!23add ApplicationBaseS
Pipeline #88821 passed
......@@ -26,7 +26,7 @@ public interface ApplicationBaseRepository extends JpaRepository<ApplicationBase
// " WHERE a.state = 'ACTIVE' ", nativeQuery = true)
// List<ApplicationBaseSTest> findAllSmallQuery();
@Query("Select ab from ApplicationBase ab JOIN Application a on a.name = ab.name WHERE a.state = 'ACTIVE'")
@Query("Select ab from ApplicationBase ab JOIN ApplicationVersion av on av.appVersionId = ab.id WHERE av.state = 'ACTIVE'")
List<ApplicationBaseS> findAllSmall();
}
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment