Examples of unalias()


Examples of org.apache.openjpa.lib.conf.PluginValue.unalias()

        if (prod.indexOf("adaptive server") != -1)
            return dbdictionaryPlugin.unalias("sybase");
        if (prod.indexOf("informix") != -1)
            return dbdictionaryPlugin.unalias("informix");
        if (prod.indexOf("hsql") != -1)
            return dbdictionaryPlugin.unalias("hsql");
        if (prod.indexOf("foxpro") != -1)
            return dbdictionaryPlugin.unalias("foxpro");
        if (prod.indexOf("interbase") != -1)
            return InterbaseDictionary.class.getName();
        if (prod.indexOf("jdatastore") != -1)
View Full Code Here

Examples of org.apache.openjpa.lib.conf.PluginValue.unalias()

        if (prod.indexOf("informix") != -1)
            return dbdictionaryPlugin.unalias("informix");
        if (prod.indexOf("hsql") != -1)
            return dbdictionaryPlugin.unalias("hsql");
        if (prod.indexOf("foxpro") != -1)
            return dbdictionaryPlugin.unalias("foxpro");
        if (prod.indexOf("interbase") != -1)
            return InterbaseDictionary.class.getName();
        if (prod.indexOf("jdatastore") != -1)
            return JDataStoreDictionary.class.getName();
        if (prod.indexOf("borland") != -1)
View Full Code Here

Examples of org.apache.openjpa.lib.conf.PluginValue.unalias()

        if (prod.indexOf("jdatastore") != -1)
            return JDataStoreDictionary.class.getName();
        if (prod.indexOf("borland") != -1)
            return JDataStoreDictionary.class.getName();
        if (prod.indexOf("access") != -1)
            return dbdictionaryPlugin.unalias("access");
        if (prod.indexOf("pointbase") != -1)
            return dbdictionaryPlugin.unalias("pointbase");
        if (prod.indexOf("empress") != -1)
            return dbdictionaryPlugin.unalias("empress");
        if (prod.indexOf("firebird") != -1)
View Full Code Here

Examples of org.apache.openjpa.lib.conf.PluginValue.unalias()

        if (prod.indexOf("borland") != -1)
            return JDataStoreDictionary.class.getName();
        if (prod.indexOf("access") != -1)
            return dbdictionaryPlugin.unalias("access");
        if (prod.indexOf("pointbase") != -1)
            return dbdictionaryPlugin.unalias("pointbase");
        if (prod.indexOf("empress") != -1)
            return dbdictionaryPlugin.unalias("empress");
        if (prod.indexOf("firebird") != -1)
            return FirebirdDictionary.class.getName();
        if (prod.indexOf("cache") != -1)
View Full Code Here

Examples of org.apache.openjpa.lib.conf.PluginValue.unalias()

        if (prod.indexOf("access") != -1)
            return dbdictionaryPlugin.unalias("access");
        if (prod.indexOf("pointbase") != -1)
            return dbdictionaryPlugin.unalias("pointbase");
        if (prod.indexOf("empress") != -1)
            return dbdictionaryPlugin.unalias("empress");
        if (prod.indexOf("firebird") != -1)
            return FirebirdDictionary.class.getName();
        if (prod.indexOf("cache") != -1)
            return CacheDictionary.class.getName();
        if (prod.indexOf("derby") != -1)
View Full Code Here

Examples of org.apache.openjpa.lib.conf.PluginValue.unalias()

        if (prod.indexOf("firebird") != -1)
            return FirebirdDictionary.class.getName();
        if (prod.indexOf("cache") != -1)
            return CacheDictionary.class.getName();
        if (prod.indexOf("derby") != -1)
            return dbdictionaryPlugin.unalias("derby");
        // test h2 in a special way, because there's a decent chance the string
        // h2 could appear in the URL of another database
        if (prod.indexOf("jdbc:h2:") != -1)
            return dbdictionaryPlugin.unalias("h2");
        if (prod.indexOf("h2 database") != -1)
View Full Code Here

Examples of org.apache.openjpa.lib.conf.PluginValue.unalias()

        if (prod.indexOf("derby") != -1)
            return dbdictionaryPlugin.unalias("derby");
        // test h2 in a special way, because there's a decent chance the string
        // h2 could appear in the URL of another database
        if (prod.indexOf("jdbc:h2:") != -1)
            return dbdictionaryPlugin.unalias("h2");
        if (prod.indexOf("h2 database") != -1)
            return dbdictionaryPlugin.unalias("h2");
        // test db2 last, because there's a decent chance this string could
        // appear in the URL of another database (like if the db is named
        // "testdb2" or something)
View Full Code Here

Examples of org.apache.openjpa.lib.conf.PluginValue.unalias()

        // test h2 in a special way, because there's a decent chance the string
        // h2 could appear in the URL of another database
        if (prod.indexOf("jdbc:h2:") != -1)
            return dbdictionaryPlugin.unalias("h2");
        if (prod.indexOf("h2 database") != -1)
            return dbdictionaryPlugin.unalias("h2");
        // test db2 last, because there's a decent chance this string could
        // appear in the URL of another database (like if the db is named
        // "testdb2" or something)
        if (prod.indexOf("db2") != -1 || prod.indexOf("as400") != -1)
            return dbdictionaryPlugin.unalias("db2");
View Full Code Here

Examples of org.apache.openjpa.lib.conf.PluginValue.unalias()

            return dbdictionaryPlugin.unalias("h2");
        // test db2 last, because there's a decent chance this string could
        // appear in the URL of another database (like if the db is named
        // "testdb2" or something)
        if (prod.indexOf("db2") != -1 || prod.indexOf("as400") != -1)
            return dbdictionaryPlugin.unalias("db2");

        // known dbs that we don't support
        if (prod.indexOf("cloudscape") != -1)
            return DBDictionary.class.getName();
        if (prod.indexOf("daffodil") != -1)
View Full Code Here

Examples of org.apache.openjpa.lib.conf.PluginValue.unalias()

        if (prod.indexOf("sapdb") != -1)
            return DBDictionary.class.getName();
        if (prod.indexOf("idb") != -1) // instantdb
            return DBDictionary.class.getName();

        String prodClassName = dbdictionaryPlugin.unalias(prod);
        if (!StringUtils.equals(prod, prodClassName))
            return prodClassName;
       
        // give up
        return null;
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.