implemented getSpecialtyInfo method in dao layer (wrote jpa query)