Package tcg.common.DatabaseManager

Examples of tcg.common.DatabaseManager.DatabaseType


       
        //load configuration from properties file
        props_ = load_properties(configFile_);
       
    //set database type
        DatabaseType dbType = null;
    String dbTypeString = props_.getProperty("tcg.db.type", "");
    if (0 == dbTypeString.compareToIgnoreCase("MYSQL"))
    {
      dbType = DatabaseType.MYSQL;
    }
View Full Code Here


    {
      isEncrypted = true;
    }
   
    //get the database type
    DatabaseType dbType = null;
    String dbTypeString = props.getProperty("tcg.db.type", "");
    if (dbTypeString.equalsIgnoreCase("ORACLE"))
    {
      dbType = DatabaseType.ORACLE;
    }
View Full Code Here

    {
      dbPassword = DatabaseManager.decrypt(dbUsername);
    }

    // get the database type
    DatabaseType dbType = null;
    String dbTypeString = props_.getProperty("tcg.event.db.type", "");
    if (dbTypeString.equalsIgnoreCase("ORACLE"))
    {
      dbType = DatabaseType.ORACLE;
    }
View Full Code Here

TOP

Related Classes of tcg.common.DatabaseManager.DatabaseType

Copyright © 2018 www.massapicom. 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.