From f735fe834b5c85c195cfb0e3a6314639d799f198 Mon Sep 17 00:00:00 2001 From: Jan Bartel Date: Sat, 18 Jan 2014 08:31:43 +1100 Subject: [PATCH] 425998 JDBCSessionIdManager fails to create maxinterval column --- .../org/eclipse/jetty/server/session/JDBCSessionIdManager.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/jetty-server/src/main/java/org/eclipse/jetty/server/session/JDBCSessionIdManager.java b/jetty-server/src/main/java/org/eclipse/jetty/server/session/JDBCSessionIdManager.java index e4e75355794..3075493eb1c 100644 --- a/jetty-server/src/main/java/org/eclipse/jetty/server/session/JDBCSessionIdManager.java +++ b/jetty-server/src/main/java/org/eclipse/jetty/server/session/JDBCSessionIdManager.java @@ -299,7 +299,7 @@ public class JDBCSessionIdManager extends AbstractSessionIdManager if (_dbAdaptor == null) throw new IllegalStateException ("No DBAdaptor"); String longType = _dbAdaptor.getLongType(); - return "alter table "+getTableName()+" add "+longType+" not null default "+MAX_INTERVAL_NOT_SET; + return "alter table "+getTableName()+" add "+getMaxIntervalColumn()+" "+longType+" not null default "+MAX_INTERVAL_NOT_SET; } private void checkNotNull(String s)