public static boolean createTable(Connection con, TableInfo tableInfo)
	{

		System.out.println("Creating table " + tableInfo.tableName);
		String tableCreate = "CREATE TABLE " + tableInfo.tableName + " ( ";

		for(String i : tableInfo.columns)
		{
			String[] tmp = i.split(",");
			tableCreate += " " + tmp[0] + " " + tmp [1] + " , ";
		}

		for(String i : tableInfo.foreignKeys)
		{
			String[] tmp = i.split(",");
			tableCreate += " FOREIGN KEY (" + tmp[0] + ") REFERENCES  " + tmp [1] + " , ";
		}
		tableCreate += " PRIMARY KEY (ID) )";

		try
		{
			Statement stmt = con.createStatement();
			stmt.execute(tableCreate);
			stmt.close();
		}
		catch (SQLException sqle)
		{
			System.out.println("DBObject createTable(" + tableInfo.tableName + "): "
							 + "Unhandled SQLException, create string:\n"
							 + tableCreate + "\n\n Exception: \n" + sqle + "\n\n");
			return false;
		}
		return true;
	}