From 93b54f329d2aeb85e5e822363fcf2097e5814280 Mon Sep 17 00:00:00 2001 From: Piotr Gawron <piotr.gawron@uni.lu> Date: Tue, 30 Oct 2018 17:27:26 +0100 Subject: [PATCH] sequence was renamed --- .../src/main/java/lcsb/mapviewer/persist/dao/ProjectDao.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/persist/src/main/java/lcsb/mapviewer/persist/dao/ProjectDao.java b/persist/src/main/java/lcsb/mapviewer/persist/dao/ProjectDao.java index a702e59b70..c233aa7353 100644 --- a/persist/src/main/java/lcsb/mapviewer/persist/dao/ProjectDao.java +++ b/persist/src/main/java/lcsb/mapviewer/persist/dao/ProjectDao.java @@ -74,7 +74,7 @@ public class ProjectDao extends BaseDao<Project> { public long getNextId() { Dialect dialect = getDialect(); - SQLQuery sqlQuery = getSession().createSQLQuery(dialect.getSequenceNextValString("project_table_id_seq")); + SQLQuery sqlQuery = getSession().createSQLQuery(dialect.getSequenceNextValString("project_sequence")); return ((BigInteger) sqlQuery.getResultList().get(0)).longValue(); -- GitLab