change to jpa hibernate spring