public String escapeIdentifier(final String keyword) {
            if (identifiers.contains(keyword)) {
                return String.format("%1$s%2$s%1$s", DbConnectionManager.getIdentifierQuoteString(), keyword);
            } else {
                return keyword;
            }
        }
A class that identifies the type of the database that Jive is connected
to. In most cases, we don't want to make any database specific calls
and have no need to know the type of database we're using. However,
there are certain cases where it's critical to know the database for
performance reasons.
xmppserver/src/main/java/org/jivesoftware/database/DbConnectionManager.java