Re: WO vs JSP
Re: WO vs JSP
- Subject: Re: WO vs JSP
- From: steve stout <email@hidden>
- Date: Thu, 10 Jun 2004 22:32:01 -0700
Or....
User user = null;
try {
user = EOUtilities.objectMatchingKeyAndValue(ec, "User", "userId",
userID);
} catch (Throwable t) {
t.printStackTrace();
}
.steve
Versus WO/EOF
NSArray results = null;
try {
EOKeyValueQualifier q = new
EOKeyValueQualifier("userId",EOQualifier.QualifierOperatorEqual,
userID);
EOFetchSpecification fs = new
EOFetchSpecification("Users", q,
null);
fs.setIsDeep( false );
results = ec.objectsWithFetchSpecification(fs);
} catch (Throwable t) {
t.printStackTrace();
}
_______________________________________________
webobjects-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/webobjects-dev
Do not post admin requests to the list. They will be ignored.