copyValues(values, keyFields, 0);
// Getting a new generated RD or a cached one.
RetrieveDesc rd = persistenceConfig.getRetrieveDescForPKQuery(additionalField, store);
Collection result = (Collection) store.
retrieve(persistenceManager, rd, new QueryValueFetcher(values));
if (result.size() > 1) {
throw new JDOFatalInternalException(I18NHelper.getMessage(messages,
"core.statemanager.toomanyrows", // NOI18N
persistenceConfig.getPersistenceCapableClass().getName()));