Learn Hibernate ORM
Monday, January 4, 2016
What is the difference between save() and persist() methods of session object?
session.save saves the object and returns the id of the instance whereas persist do not return anything after saving the instance.
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment