* @return a dictionary with primary key values
*/
private static NSDictionary processPrimaryKeyValue( String value, EOEntity entity, boolean isEncrypted ) {
NSArray pkAttributeNames = entity.primaryKeyAttributeNames();
try {
pkAttributeNames = pkAttributeNames.sortedArrayUsingComparator
( NSComparator.AscendingStringComparator );
} catch( NSComparator.ComparisonException ex ) {
log.error( "Unable to sort attribute names: "+ ex );
throw new NSForwardException(ex);
}