public Object getConfig(int i, String name) {
		String str 	= "";
		int in 		= 0;
		long lng 	= 0;
		double dbl 	= 0;
		boolean bln = false;
		try {
			Transaction trans=new JDBCTransaction(createConnection());
			Connection connection = ((JDBCTransaction)trans).getConnection();
			Statement stmt=connection.createStatement();
		    
			String query = SQL_CONFIG_GET + "'" + name + "')";
		    
		    ResultSet result = stmt.executeQuery(query);
		    if(result.next()) {
				switch(i) {
					case(SQL_BLN):{
						bln = result.getBoolean("value");
						return bln;
					}
					case(SQL_INT):{
						in = result.getInt("value");
						return in;
					}
					case(SQL_DBL):{
						dbl = result.getDouble("value");
						return dbl;
					}
					case(SQL_LNG):{
						lng = result.getLong("value");
						return lng;
					}
					case(SQL_STR):{
						str = result.getString("value");
						return str;
					}
				}			
		    } else {
		    	eng.LOG.printError("MySQL Error loading config: name = " + name + " type = " + i, null);
		    	return null;
		    }
		} catch (DatabaseException e) {
			e.printStackTrace();
		} catch (SQLException e) {
			e.printStackTrace();
		}
		return null;
	}