Formatting

This commit is contained in:
Francesco committed 2023-10-10 21:46:50 +02:00
1 parent 3ee6497d09
commit 7333db3f04
1 file changed
+4 -4
@@ -461,10 +461,10 @@ public class DefaultDbAdminController {
saveAction(new UserAction(schema.getTableName(), pkValue, "EDIT", schema.getClassName()));
}
} else {
Object newPrimaryKey = repository.create(schema, params, files, pkValue);
repository.attachManyToMany(schema, newPrimaryKey, multiValuedParams);
attr.addFlashAttribute("message", "Item created successfully");
saveAction(new UserAction(schema.getTableName(), pkValue, "CREATE", schema.getClassName()));
Object newPrimaryKey = repository.create(schema, params, files, pkValue);
repository.attachManyToMany(schema, newPrimaryKey, multiValuedParams);
attr.addFlashAttribute("message", "Item created successfully");
saveAction(new UserAction(schema.getTableName(), pkValue, "CREATE", schema.getClassName()));
}
}
} catch (DataIntegrityViolationException | UncategorizedSQLException | IdentifierGenerationException e) {