int[] keyPositions = new int[keyMapping.getNumberOfDatastoreMappings()];
for (int k=0;k<keyPositions.length;k++)
{
keyPositions[k] = inputParamNum++;
}
keyIdx.addParameterOccurrence(keyPositions);
}
getMappingParams = new StatementParameterMapping();
getMappingParams.addMappingForParameter("owner", ownerIdx);
getMappingParams.addMappingForParameter("key", keyIdx);