title: Core data fetch request with NSPredicate?
body: <p>I'm using this code for fetch data from <code>core data</code></p>
  
  <pre><code>    NSFetchRequest * desFetctRequest = [[NSFetchRequest alloc] init];
      [desFetctRequest setEntity:[NSEntityDescription entityForName:@"IssueDescription" inManagedObjectContext:managedObjectContext]];
      [desFetctRequest setIncludesPropertyValues:NO];
      [desFetctRequest setPredicate:[NSPredicate predicateWithFormat:@"(issueId == %@) &amp;&amp; (partyId == %@)",issueId, pid]];
     NSError * error = nil;
      NSArray * savedIssuesDes = [managedObjectContext executeFetchRequest:desFetctRequest error:&amp;error];
  </code></pre>
  
  <p>but i get <code>savedIssuesDes</code> array with 0 object, however if i don't use predict than it gives me <code>savedIssuesDes</code> with 7 objects.
  i got the value of predicate as <code>issueId == "42" AND partyId == "1"</code> 
  <strong>Is there any problem with my predicate?</strong>
  however i used <code>NSPredicate</code> like that in my other project and i got expected results.</p>
  
  <p><strong>EDIT:</strong> here is my <code>IssueDescription</code> class</p>
  
  <pre><code>@interface IssueDescription : NSManagedObject
  
  @property (nonatomic, retain) NSString * desriptionId;
  @property (nonatomic, retain) NSString * issueDesc;
  @property (nonatomic, retain) NSString * issueId;
  @property (nonatomic, retain) NSString * partyId;
  
  @end
  </code></pre>
  
  <p><strong>Solutions:</strong> As every one saying, every thing was Ok here.<code>partyId</code> is changed to <code>party_id</code> on server side. I wish that guy be in front of me.Anyway Thanks every one for your help.</p>