public NdbTransaction enlist(String tableName, int partitionId) {
NdbTransaction result = null;
if (tableName == null) {
result = ndb.startTransaction(null, null, 0);
} else {
TableConst table= ndbDictionary.getTable(tableName);
result = ndb.startTransaction(table, partitionId);
}
handleError (result, ndb);
return result;
}