accessmanager.getNextConglomId(
cfactory.getConglomerateFactoryId());
}
// call the factory to actually create the conglomerate.
Conglomerate conglom =
cfactory.createConglomerate(
this, segment, conglomid, template,
columnOrder, collationIds, properties, temporaryFlag);
long conglomId;
if ((temporaryFlag & TransactionController.IS_TEMPORARY)
== TransactionController.IS_TEMPORARY)
{
conglomId = nextTempConglomId--;
if (tempCongloms == null)
tempCongloms = new HashMap();
tempCongloms.put(new Long(conglomId), conglom);
}
else
{
conglomId = conglom.getContainerid();
accessmanager.conglomCacheAddEntry(conglomId, conglom);
}
return conglomId;