} finally {
sysSession.setCurrentSchema(db.getSchema(Constants.SCHEMA_MAIN));
}
view.setComment(comment);
try {
view.recompileQuery(session);
} catch (DbException e) {
// this is not strictly required - ignore exceptions, specially when using FORCE
}
db.addSchemaObject(session, view);