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 a702e59b70712316e9e52048b3563ef09461084a..c233aa7353529560697b846b84557087a9ec6bce 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();