From 6af62ece7cea99a22e85ea8d27c9e8958067b1a4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20St=C3=A4hr?= <software@mstaehr.net> Date: Sun, 17 Jun 2018 01:08:11 +0200 Subject: [PATCH] fix: fix active and adminPassword naming in sql query --- .../java/unipotsdam/gf/core/management/ManagementImpl.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gemeinsamforschen/src/main/java/unipotsdam/gf/core/management/ManagementImpl.java b/gemeinsamforschen/src/main/java/unipotsdam/gf/core/management/ManagementImpl.java index c7f56be3..725a70e3 100644 --- a/gemeinsamforschen/src/main/java/unipotsdam/gf/core/management/ManagementImpl.java +++ b/gemeinsamforschen/src/main/java/unipotsdam/gf/core/management/ManagementImpl.java @@ -58,8 +58,8 @@ public class ManagementImpl implements Management { MysqlConnect connect = new MysqlConnect(); connect.connect(); String mysqlRequest = - "INSERT INTO projects (`id`, `password`, `activ`, `timecreated`, `author`, " - + "`adminpassword`, `token`) values (?,?,?,?,?,?,?)"; + "INSERT INTO projects (`id`, `password`, `active`, `timecreated`, `author`, " + + "`adminPassword`, `token`) values (?,?,?,?,?,?,?)"; connect.issueInsertOrDeleteStatement(mysqlRequest, project.getId(), project.getPassword(), project.isActive(), project.getTimecreated(), project.getAuthor(), project.getAdminPassword(), token); connect.close(); -- GitLab