[aerogear-issues] [JBoss JIRA] (AGPUSH-144) Refactoring: Use JPQL instead of java loop