Question: what is the difference between save() and persist() methods of session object?
Answer: Difference between save() and persist() in Hibernate Save() and persist() both methods are used for saving object in the database. Save() − Persist the given transient instance, first assigning a generated identifier. ... persist() − Make a transient instance persistent.