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>
|
||||
</component>
|
||||
<component name="PWA">
|
||||
<option name="enabled" value="true" />
|
||||
<option name="wasEnabledAtLeastOnce" value="true" />
|
||||
</component>
|
||||
<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;
|
||||
|
||||
public String getColumnName() {
|
||||
if (!columnName.startsWith("[")) columnName = "["+columnName +"]";
|
||||
return columnName;
|
||||
}
|
||||
|
||||
|
||||
@@ -283,6 +283,7 @@ public class EmsServices {
|
||||
File file = new File(fileName);
|
||||
FileUtils.writeByteArrayToFile(file, fileContent);
|
||||
moveFileImported(type, format, file, entityImporter, tmpResult);
|
||||
file.delete();
|
||||
}
|
||||
|
||||
} catch (Exception ex) {
|
||||
|
||||
Reference in New Issue
Block a user