public static boolean createTable(String tableName, String[] columns,
			String[] dims) {
		String query = "";
		try {
			if (conn == null || conn.isClosed())
				open();
			statement = conn.createStatement();
			query = "CREATE TABLE " + tableName + " (";
			for (int i = 0; i < columns.length; i++) {
				if (i != 0) {
					query += ", ";
				}
				query += columns[i] + " " + dims[i];
			}
			query += ")";
			statement.execute(query);
		} catch (Exception e) {
			plugin.getLogger().severe(
					"Error creating table '" + tableName + "'!");
			plugin.getLogger().severe(query);
			e.printStackTrace();
		}
		close();
		return true;
	}