* @throws EMFUserError the EMF user error
*/
public static SbiResources modifyExistingSbiResources(SbiResources exportedRes, Session sessionCurrDB,
Integer existingId, MetadataAssociations metaAss, ImporterMetadata importer) throws EMFUserError {
logger.debug("IN");
SbiResources existingRes = null;
try {
// update th Value
existingRes = (SbiResources) sessionCurrDB.load(SbiResources.class, existingId);
existingRes.setResourceCode(exportedRes.getResourceCode());
existingRes.setResourceName(exportedRes.getResourceName());
existingRes.setResourceDescr(exportedRes.getResourceDescr());
existingRes.setTableName(exportedRes.getTableName());
existingRes.setColumnName(exportedRes.getColumnName());
// associations
entitiesAssociationsSbiResources(exportedRes, existingRes, sessionCurrDB, metaAss, importer);
}