If you need to append to that qualifier (e.g., isDeleted=false) you can also do:

EOEntity eoEntity = EOUtilities.entityNamed(ec, Foo.ENTITY_NAME);
String pkName = eoEntity.primaryKeyAttributeNames().objectAtIndex(0);
NSDictionary<String, Object> pk = new NSDictionary<String, 
Object>(Long.valueOf(pkString), pkName);
EOQualifier pkQualifier = eoEntity.qualifierForPrimaryKey(pk);
...

with regards,
--

Lachlan Deck


 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      ([email protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to