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

ios - Memory not freeing up after popping viewcontroller using ARC -

mouseevent - Catch mouse event on tree widget item in QTreeWidget -

Java JSoup error fetching URL -