425998 JDBCSessionIdManager fails to create maxinterval column
This commit is contained in:
parent
1e2e3fc7f2
commit
f735fe834b
|
@ -299,7 +299,7 @@ public class JDBCSessionIdManager extends AbstractSessionIdManager
|
||||||
if (_dbAdaptor == null)
|
if (_dbAdaptor == null)
|
||||||
throw new IllegalStateException ("No DBAdaptor");
|
throw new IllegalStateException ("No DBAdaptor");
|
||||||
String longType = _dbAdaptor.getLongType();
|
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)
|
private void checkNotNull(String s)
|
||||||
|
|
Loading…
Reference in New Issue