public Object[][] getQueryResultAsObjectArray(String query){
		List<List<Object>> queryResult = getQueryResult(query);
		if(queryResult==null||queryResult.size()<1) return null;
		Object[][] result = new Object[queryResult.size()][queryResult.get(0).size()];
		for (int i = 0; i < result.length; i++) {
			for (int j = 0; j < result[i].length; j++) {
				result[i][j] = queryResult.get(i).get(j);
			}
		}
		return result;
	}