session.setExpiryTime(result.getLong(_sessionTableSchema.getExpiryTimeColumn()));
session.setCanonicalContext(result.getString(_sessionTableSchema.getContextPathColumn()));
session.setVirtualHost(result.getString(_sessionTableSchema.getVirtualHostColumn()));
try (InputStream is = ((JDBCSessionIdManager)getSessionIdManager())._dbAdaptor.getBlobInputStream(result, _sessionTableSchema.getMapColumn());
ClassLoadingObjectInputStream ois = new ClassLoadingObjectInputStream(is))
{
Object o = ois.readObject();
session.addAttributes((Map<String,Object>)o);
}
if (LOG.isDebugEnabled())
LOG.debug("LOADED session "+session);