• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: WO vs JSP
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.


References: 
 >Re: WO vs JSP (From: Dov Rosenberg <email@hidden>)

  • Prev by Date: Re: [OT] WebObjects Based CMS?
  • Next by Date: Re: [OT] WebObjects Based CMS?
  • Previous by thread: Re: WO vs JSP
  • Next by thread: Re: WO vs JSP
  • Index(es):
    • Date
    • Thread