Difference between session.save() and session.saveOrUpdate()



Difference between session.save() and session.saveOrUpdate()?

session.save() – Insert data into the table
session.saveOrUpdate()- Insert data if primary key not exist otherwise update

Share with SociBook.com

Random Posts

Post a Comment