existingSubObject.setLastChangeDate(expSubObject.getLastChangeDate());
existingSubObject.setIsPublic(expSubObject.getIsPublic());
existingSubObject.setName(expSubObject.getName());
existingSubObject.setOwner(expSubObject.getOwner());
//existingSubObject.setSbiObject(obj);
SbiBinContents existingBinaryContent=existingSubObject.getSbiBinContents();
sessionCurrDB.delete(existingBinaryContent);
SbiBinContents binary = insertBinaryContent(expSubObject.getSbiBinContents());
existingSubObject.setSbiBinContents(binary);
sessionCurrDB.update(existingSubObject);
} catch (HibernateException he) {
logger.error("Error while getting exported template objects ", he);