existingDataset.setName(exportedDataset.getName());
existingDataset.setDescription(exportedDataset.getDescription());
existingDataset.setLabel(exportedDataset.getLabel());
existingDataset.setName(exportedDataset.getName());
existingDataset.setDescription(exportedDataset.getDescription());
SbiCommonInfo i = new SbiCommonInfo();
IEngUserProfile profile = (IEngUserProfile)session.getPermanentContainer().getAttribute(IEngUserProfile.ENG_USER_PROFILE);
String userid = "biadmin";
if(profile!=null){
userid =(String) profile.getUserUniqueIdentifier();
}
i.setTimeIn(new Date());
i.setUserIn(userid);
i.setSbiVersionIn(SbiCommonInfo.SBI_VERSION);
existingDataset.setCommonInfo(i);
// Make precedent active inactive, new one will be active
Query hibQueryPreActive = sessionCurrDB.createQuery("from SbiDataSetHistory h where h.active = ? and h.sbiDsConfig = ?" );