0 votes
in Hibernate by
What is the difference between session.save() and session.persist() method?

1 Answer

0 votes
by

No. save() persist()

1) returns the identifier (Serializable) of the instance. Return nothing because its return type is void.

2) Syn: public Serializable save(Object o) Syn: public void persist(Object o)

Related questions

0 votes
asked Apr 15, 2023 in JAVA by kamalkhandelwal29
0 votes
asked Feb 15, 2020 in JAVA by rahuljain1
...