switch (Initializer.getDatabase()) { case Initializer.POSTGRES:
switch (DbHelper.getDatabase()) { case DbHelper.DB_POSTGRES:
    private static final String getDatabaseType(int type) {        Integer key = new Integer(type);        switch (Initializer.getDatabase()) {        case Initializer.POSTGRES:            if (POSTGRES.containsKey(key)) {                return (String) POSTGRES.get(key);            }            break;        case Initializer.ORACLE:            if (ORACLE.containsKey(key)) {                return (String) ORACLE.get(key);            }        default:            if (ORACLE.containsKey(key)) {                return (String) ORACLE.get(key);            }            break;        }        String result = (String) DEFAULT.get(key);        if (result == null) {            throw new Error("Don't know how to translate " +                            getTypeName(type) + " to database specific type.");        }        return result;    }