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