}
private TargetInsertUpdateModeUi createUi(TreeMapper mapper) {
TransformationDatabaseInfo dbInfo = getDbInfo(mapper);
PrimaryKeys[] initialKeys = getInitialKeys(dbInfo);
TargetInsertUpdateModeUi ui = new TargetInsertUpdateModeUi(dbInfo.getDatabaseObjects(), initialKeys);
ui.setInsertMode(mapper.getTransformation().getDbInsertMode());
ui.setIncludeAutoTruncateChoice(false);
return ui;
}