Skip to content

Commit 35a4c95

Browse files
ddamkeddamke
authored andcommitted
add option FROM_1X
1 parent 1a6acab commit 35a4c95

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/de/doubleslash/keeptime/view/SettingsController.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -282,8 +282,8 @@ private void initImportButton(){
282282
final String username = applicationProperties.getSpringDataSourceUserName();
283283
final String password = applicationProperties.getSpringDataSourcePassword();
284284

285+
new RunScript().runTool("-url", url, "-user",username,"-password",password,"-script",file.toString(),"-options", "FROM_1X");
285286

286-
RunScript.execute(url, username, password, file.toString(), Charset.defaultCharset(), true);
287287
Alert informationDialog = new Alert(AlertType.INFORMATION);
288288
informationDialog.setTitle("Import done");
289289
informationDialog.setHeaderText("The data was imported.");

0 commit comments

Comments
 (0)