added hibernate to persist results