425998 JDBCSessionIdManager fails to create maxinterval column

This commit is contained in:
Jan Bartel 2014-01-18 08:31:43 +11:00
parent 1e2e3fc7f2
commit f735fe834b
1 changed files with 1 additions and 1 deletions

View File

@ -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)