change jpa to hibernate