fixes missing placeholder in insert statement

Sat, 17 Oct 2020 20:06:14 +0200

author
Mike Becker <universe@uap-core.de>
date
Sat, 17 Oct 2020 20:06:14 +0200
changeset 135
bafc315294fd
parent 134
f47e82cd6077
child 136
7281bdf43c60

fixes missing placeholder in insert statement

src/main/java/de/uapcore/lightpit/dao/postgres/PGIssueDao.java file | annotate | diff | comparison | revisions
--- a/src/main/java/de/uapcore/lightpit/dao/postgres/PGIssueDao.java	Sat Oct 17 19:56:50 2020 +0200
+++ b/src/main/java/de/uapcore/lightpit/dao/postgres/PGIssueDao.java	Sat Oct 17 20:06:14 2020 +0200
@@ -88,7 +88,7 @@
 
         insert = connection.prepareStatement(
                 "insert into lpit_issue (project, component, status, category, subject, description, assignee, eta) " +
-                        "values (?, ?::issue_status, ?::issue_category, ?, ?, ?, ?) returning issueid"
+                        "values (?, ?, ?::issue_status, ?::issue_category, ?, ?, ?, ?) returning issueid"
         );
         update = connection.prepareStatement(
                 "update lpit_issue set " +

mercurial