java - Hibernate - HibernateTemplete saveOrUpdate Vs saveOrUpdateAll -


in hibernatetemplete class, why saveorupdate provide api of signature saveorupdate(entityname, entity). saveorupdateall has saveorupdateall(entities)?

as hibernate allows 1 class multiple entities, how can save collection of objects of specified entity?

for ref.: hibernatetemplate documentation


Comments

Popular posts from this blog

Django REST Framework perform_create: You cannot call `.save()` after accessing `serializer.data` -

Why does Go error when trying to marshal this JSON? -