aggiunte parentesi [] nella creazione delle tabelle di history e cancellato file dopo l'importazione
All checks were successful
IntegryManagementSystem_Multi/pipeline/head This commit looks good
All checks were successful
IntegryManagementSystem_Multi/pipeline/head This commit looks good
This commit is contained in:
1
.idea/misc.xml
generated
1
.idea/misc.xml
generated
@@ -9,7 +9,6 @@
|
|||||||
</option>
|
</option>
|
||||||
</component>
|
</component>
|
||||||
<component name="PWA">
|
<component name="PWA">
|
||||||
<option name="enabled" value="true" />
|
|
||||||
<option name="wasEnabledAtLeastOnce" value="true" />
|
<option name="wasEnabledAtLeastOnce" value="true" />
|
||||||
</component>
|
</component>
|
||||||
<component name="ProjectRootManager" version="2" languageLevel="JDK_1_8" default="true" project-jdk-name="1.8" project-jdk-type="JavaSDK" />
|
<component name="ProjectRootManager" version="2" languageLevel="JDK_1_8" default="true" project-jdk-name="1.8" project-jdk-type="JavaSDK" />
|
||||||
|
|||||||
@@ -24,6 +24,7 @@ public class DatabaseTableColumn {
|
|||||||
private ArrayList<DatabaseForeignKey> foreignKeys;
|
private ArrayList<DatabaseForeignKey> foreignKeys;
|
||||||
|
|
||||||
public String getColumnName() {
|
public String getColumnName() {
|
||||||
|
if (!columnName.startsWith("[")) columnName = "["+columnName +"]";
|
||||||
return columnName;
|
return columnName;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -283,6 +283,7 @@ public class EmsServices {
|
|||||||
File file = new File(fileName);
|
File file = new File(fileName);
|
||||||
FileUtils.writeByteArrayToFile(file, fileContent);
|
FileUtils.writeByteArrayToFile(file, fileContent);
|
||||||
moveFileImported(type, format, file, entityImporter, tmpResult);
|
moveFileImported(type, format, file, entityImporter, tmpResult);
|
||||||
|
file.delete();
|
||||||
}
|
}
|
||||||
|
|
||||||
} catch (Exception ex) {
|
} catch (Exception ex) {
|
||||||
|
|||||||
Reference in New Issue
Block a user