public function loadCache()
    {
        if (empty($this->name))
            throw new DBException("Please provide a name for the schema when using the cache");

        $cachemgr = CacheManager::getInstance();
        $this->tables = $cachemgr->getCache('dbschema_' . $this->name);
    }