this.schema = schema;
schema = new DatabaseSchema(model, Collections.EMPTY_LIST, false, Collections.EMPTY_SET);
    protected ObjectStoreInterMineImpl(Database db, DatabaseSchema schema) {        super(schema.getModel());        this.db = db;        this.schema = schema;        ShutdownHook.registerObject(new WeakReference(this));        limitedContext = new QueryOptimiserContext();        limitedContext.setTimeLimit(getMaxTime() / 10);    }