I\'m getting a warning in the Server log \"firstResult/maxResults specified with collection fetch; applying in memory!\". However everything working fine. B
Reason for this warning is that when fetch join is used, order in result sets is defined only by ID of selected entity (and not by join fetched).
If this sorting in memory is causing problems, do not use firsResult/maxResults with JOIN FETCH.