CRUD, integration with spring and hibernate