This repository has been archived by the owner on Jul 11, 2022. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Bug 1240854 - Group inventory pages (compatible, mixed, all) fail to …
…display groups due to UI timeouts Replace subqueries by JOINs. Due to JPA limitation of subqueries (One cannot write select x from (select y from z)). One query has been replaced with 2 (or 3) queries which we have to join in memory. This should not be a perf issue, since we're joining composite instance sets (max count of such set equals to total resource group count in DB). A case when 2 (or 3) subsequent queries could return sets of different sizes (due to underlying group deletion/addition) is handled as well.
- Loading branch information
Libor Zoubek
committed
Jul 9, 2015
1 parent
7bf40ec
commit 5cc77db
Showing
2 changed files
with
153 additions
and
40 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters