openTransaction();
LOG.debug("Executing listTableAllPartitionColumnGrants");
String queryStr = "partition.table.tableName == t1 && partition.table.database.name == t2";
Query query = pm.newQuery(MPartitionColumnPrivilege.class, queryStr);
query.declareParameters("java.lang.String t1, java.lang.String t2");
mSecurityColList = (List<MPartitionColumnPrivilege>) query
.executeWithArray(tableName, dbName);
LOG.debug("Done executing query for listTableAllPartitionColumnGrants");
pm.retrieveAll(mSecurityColList);
success = commitTransaction();
LOG.debug("Done retrieving all objects for listTableAllPartitionColumnGrants");