Formatting

This commit is contained in:
Francesco 2023-10-10 21:46:50 +02:00
parent 3ee6497d09
commit 7333db3f04

View File

@ -461,10 +461,10 @@ public class DefaultDbAdminController {
saveAction(new UserAction(schema.getTableName(), pkValue, "EDIT", schema.getClassName())); saveAction(new UserAction(schema.getTableName(), pkValue, "EDIT", schema.getClassName()));
} }
} else { } else {
Object newPrimaryKey = repository.create(schema, params, files, pkValue); Object newPrimaryKey = repository.create(schema, params, files, pkValue);
repository.attachManyToMany(schema, newPrimaryKey, multiValuedParams); repository.attachManyToMany(schema, newPrimaryKey, multiValuedParams);
attr.addFlashAttribute("message", "Item created successfully"); attr.addFlashAttribute("message", "Item created successfully");
saveAction(new UserAction(schema.getTableName(), pkValue, "CREATE", schema.getClassName())); saveAction(new UserAction(schema.getTableName(), pkValue, "CREATE", schema.getClassName()));
} }
} }
} catch (DataIntegrityViolationException | UncategorizedSQLException | IdentifierGenerationException e) { } catch (DataIntegrityViolationException | UncategorizedSQLException | IdentifierGenerationException e) {