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 -

Java JSoup error fetching URL -

webstorm - PhpStorm file cache conflict with TypeScript compiler -