hibernate work with spring