public <T extends CdmBase> Map<UUID,T> save(Collection<T> newInstances) {\r
//this is very ugly, I know, but for now I do not want to copy the saveAll method from CdmEntityDaoBase to genericDao\r
//and generally the saveAll method should work for other CdmBase types with generics removed\r
- return originalSourceDao.saveAll((Collection)newInstances);\r
+ return (Map<UUID, T>) originalSourceDao.saveAll((Collection)newInstances);\r
}\r
\r
@Override\r
public <T extends CdmBase> Map<UUID,T> saveOrUpdate(Collection<T> newInstances) {\r
//this is very ugly, I know, but for now I do not want to copy the saveAll method from CdmEntityDaoBase to genericDao\r
//and generally the saveAll method should work for other CdmBase types with generics removed\r
- return originalSourceDao.saveOrUpdateAll((Collection)newInstances);\r
+ return (Map<UUID, T>) originalSourceDao.saveOrUpdateAll((Collection)newInstances);\r
}\r
\r
\r