Is this DB type directly accessing the data?
@param strDbPrefix
@return
968927
public boolean isConcreteDBClass(String strDbPrefix)
    {
        if ((DBParams.JDBC.equalsIgnoreCase(strDbPrefix))
                || ("Serial".equalsIgnoreCase(strDbPrefix))
                || ("Soap".equalsIgnoreCase(strDbPrefix))
                || ("Xml".equalsIgnoreCase(strDbPrefix)))
            return true;
        return false;
    }
775156
private StringBuffer toQueryPrefixNoSelect(String t) {

        StringBuffer sb = new StringBuffer(255);

        return sb.append(t).append(whereTrue);
    }
469263
public int getDatabaseType()
    {
        // ****Override this****, If not, try to figure it out
        if (m_vRecordList != null)
            if (this.getRecordlistAt(0) != null)
                return this.getRecordlistAt(0).getDatabaseType() & DBConstants.TABLE_MASK;  // Only type and location
        return super.getDatabaseType(); // LOCAL
    }
1221902
@Override
	public String getString() {
		String result = cachedString;
		if(result == null) {
			synchronized(this) {
				result = cachedString;
				if(result == null) {
					if(isSinglePrefixBlock() || !isMultiple()) { //covers the case of !isMultiple, ie single addresses, when there is no prefix or the prefix is the bit count
						result = getDefaultLowerString();
					} else if(!isFullRange() || (result = getDefaultSegmentWildcardString()) == null) {
						if(isPrefixBlock()) {
							result = getDefaultMaskedRangeString();
						} else {
							result = getDefaultRangeString();
						}
					}
					cachedString = result;
				}
			}
		}
		return result;
	}
1367876
public boolean hasNext() throws DBException
    {
        if (m_iCurrentRecord >= m_iRecordsAccessed)
            return true;
        Object record = this.next();
        if (record == null)
            return false;
        else
        {
            m_iRecordsAccessed--;   // Offically this record has not been accessed
            return true;
        }
    }
505097
public S tableNamePrefix(String tableNamePrefix) {
      attributes.attribute(TABLE_NAME_PREFIX).set(tableNamePrefix);
      return self();
   }
694037
public String getEffectivePrefix() {
		lock.readLock().lock();
		try {
			final boolean useLocalPrefixes = !mixDefaultAndLocalPrefixes && hasLocalPrefixConfigurations();
			return getPrefix(new StringBuilder(), useLocalPrefixes).toString();
		} finally {
			lock.readLock().unlock();
		}
	}
487023
protected DCTree entity() {
        int p = bp;
        nextChar();
        Name name = null;
        boolean checkSemi = false;
        if (ch == '#') {
            int namep = bp;
            nextChar();
            if (isDecimalDigit(ch)) {
                nextChar();
                while (isDecimalDigit(ch))
                    nextChar();
                name = names.fromChars(buf, namep, bp - namep);
            } else if (ch == 'x' || ch == 'X') {
                nextChar();
                if (isHexDigit(ch)) {
                    nextChar();
                    while (isHexDigit(ch))
                        nextChar();
                    name = names.fromChars(buf, namep, bp - namep);
                }
            }
        } else if (isIdentifierStart(ch)) {
            name = readIdentifier();
        }

        if (name == null)
            return erroneous("dc.bad.entity", p);
        else {
            if (ch != ';')
                return erroneous("dc.missing.semicolon", p);
            nextChar();
            return m.at(p).Entity(name);
        }
    }
145178
public static String getSqlTypeAsString(int jdbcType)
    {
        String statusName = "*can't find String representation for sql type '" + jdbcType + "'*";
        try
        {
            Field[] fields = Types.class.getDeclaredFields();
            for (int i = 0; i < fields.length; i++)
            {
                if (fields[i].getInt(null) == jdbcType)
                {
                    statusName = fields[i].getName();
                    break;
                }
            }
        }
        catch (Exception ignore)
        {
            // ignore it
        }
        return statusName;
    }
926700
public String buildPreparedStatementName() {
		if (!StringUtils.hasText(preparedStatementName)) {
			preparedStatementName = getParent().buildPreparedStatementName(getName());
		}
		return preparedStatementName;
	}
160668
static SQLTransform getPrimitiveTransform(TypeName type) {

		if (Integer.TYPE.toString().equals(type.toString())) {
			return new IntegerSQLTransform(false);
		}
		if (Boolean.TYPE.toString().equals(type.toString())) {
			return new BooleanSQLTransform(false);
		}
		if (Long.TYPE.toString().equals(type.toString())) {
			return new LongSQLTransform(false);
		}
		if (Double.TYPE.toString().equals(type.toString())) {
			return new DoubleSQLTransform(false);
		}
		if (Float.TYPE.toString().equals(type.toString())) {
			return new FloatSQLTransform(false);
		}
		if (Short.TYPE.toString().equals(type.toString())) {
			return new ShortSQLTransform(false);
		}
		if (Byte.TYPE.toString().equals(type.toString())) {
			return new ByteSQLTransform(false);
		}
		if (Character.TYPE.toString().equals(type.toString())) {
			return new CharacterSQLTransform(false);
		}
		return null;
	}
25620
public function checkCachePrefix()
    {
        $dbCachePrefix = $this->getDbCachePrefix();
        if (empty($dbCachePrefix)) {
            return true;
        }
        $localXmlCachePrefix = Mage::app()->getCache()->getOption('cache_id_prefix');
        return ($localXmlCachePrefix == $dbCachePrefix);
    }
270115
public static char getPDBTypeFromDBType(int iDatabaseType)
    {
        char strPDBType = ThinPhysicalDatabase.MEMORY_TYPE;
        if ((iDatabaseType & Constants.MAPPED) != 0)
            ;
        iDatabaseType = iDatabaseType & Constants.TABLE_TYPE_MASK;
        if (iDatabaseType == Constants.LOCAL)
            strPDBType = ThinPhysicalDatabase.NET_TYPE;  // Never asked
        if (iDatabaseType == Constants.REMOTE)
            strPDBType = ThinPhysicalDatabase.NET_TYPE;  // Never asked
        if (iDatabaseType == Constants.TABLE)
            strPDBType = ThinPhysicalDatabase.NET_TYPE;
        return strPDBType;
    }
830961
public UnprotectedStringBuffer getNamespaceURI(CharSequence namespacePrefix) {
		for (ElementContext ctx : event.context) {
			for (Pair<UnprotectedStringBuffer, UnprotectedStringBuffer> ns : ctx.namespaces)
				if (ns.getValue1().equals(namespacePrefix))
					return ns.getValue2();
		}
		return new UnprotectedStringBuffer();
	}
513135
public Database getDatabase(String strDBName, int iDatabaseType, Map<String, Object> properties)
    {
        return m_databaseCollection.getDatabase(strDBName, iDatabaseType, properties);
    }
1322545
public static function getInstance($table = null, $tablePrefix = null, $db = null)
    {
        static $mInstance = [];
        $class = get_called_class();
        $classKey = $class . '-' . $tablePrefix . $table;
        if (!isset($mInstance[$classKey])) {
            $mInstance[$classKey] = new $class();
            is_null($table) || $mInstance[$classKey]->table = $table;
            is_null($tablePrefix) || $mInstance[$classKey]->tablePrefix = $tablePrefix;
            is_null($db) || $mInstance[$classKey]->db = $db;
        }
        return $mInstance[$classKey];
    }
709560
function( db, prefix ) {
		if (!prefix) prefix="";
		// Import into an easy-to-process format
		var keys = Object.keys(db), k, v;
		for (var i=0; i<keys.length; ++i) {
			k = keys[i]; v = db[k];
			if (!db.hasOwnProperty(k)) continue;

			this.dbTags.push( prefix+k );
			this.dbObjects.push( db[k] );

			// Define the XRef property for faster lookup of the key
			Object.defineProperty(
				v, "__xref__", {
					enumerable: false,
					value: k,
				}
			);

		}
		// Keep reference of database
		this.database = db;
	}