String itemName = continuousData.getItemName(j);
mItemDefinitionNames[j] = itemName;
mItemDefinitions[j] = anItem;
// This can be null, means the default definition 'AVG' is used.
ItemDefinition definition = getItemDefinition(itemName);
//ItemDefinitionJDBC itemDefJDBC = new ItemDefinitionJDBC();
//itemDefJDBC.setColumnIndex(pNewColumnIndex);
//itemDefJDBC.setItemDefinitionDesc(itemName);
if (definition != null) {