hibernateDAO pagination adjusted