Support pagination, hibernate map user and group.