Have a Question?

If you have any question you can ask below or enter what you are looking for!

Category: Hibernate

Difference between save vs persist methods in Hibernate

Difference between save vs persist methods in Hibernate

Difference between save vs persist methods in Hibernate session.save() method returns the generated identity value but session.persist() method doesn’t return the generated identity value because the return type is void. Whenever we are using ORM like Hibernate, there are two from many others methods save() and persist() using to save the . . . Read more