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
Post a Comment