String syncDatePrKeyField[] = {""};
Timestamp lastSyncDate = (Timestamp)params.get("lastSyncDate");
String operation = (String)params.get("Operation");
InitialContext ic = CVUtility.getInitialContext();
ItemLocalHome home = (ItemLocalHome)ic.lookup("local/Item");
ItemLocal itemL = home.create();
Collection col = getList((String)params.get("itemname"),lastSyncDate,operation,syncDatePrKeyField);
Object ids[] = col.toArray();
HashMap hm = new HashMap();
int size = ids.length;