diff --git a/src/engine/db/handlers/dbPetitionHandler.java b/src/engine/db/handlers/dbPetitionHandler.java index f3ce7b4a..3b59ce45 100644 --- a/src/engine/db/handlers/dbPetitionHandler.java +++ b/src/engine/db/handlers/dbPetitionHandler.java @@ -41,7 +41,7 @@ public class dbPetitionHandler extends dbHandlerBase { " PRIMARY KEY (petitionNumber))" + " ENGINE = innodb ROW_FORMAT = DEFAULT;")) { - preparedStatement.executeQuery(); + preparedStatement.executeUpdate(); } catch (SQLException e) { Logger.error(e);