• 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: SQL Query from EOFetchspecification
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: SQL Query from EOFetchspecification


  • Subject: Re: SQL Query from EOFetchspecification
  • From: Art Isbell <email@hidden>
  • Date: Thu, 27 Mar 2008 08:11:44 -1000

On Mar 27, 2008, at 12:15 AM, email@hidden wrote:

Could some one assist me in generating the sql query from the
EOFetchSpecification object?


You should be able to get there by creating an EOSQLExpressionFactory object, sending it a selectStatementForAttributes() message, and sending the returned EOSQLExpression object a statement() message. You'll have to reach down to the EOAccess level to deal with EOAdaptor and EOEntity objects, but it shouldn't be a big deal, but not a one- liner by any means.

Aloha,
Art

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


References: 
 >SQL Query from EOFetchspecification (From: <email@hidden>)

  • Prev by Date: how to thread a really computationally intensive page ?
  • Next by Date: Re: how to thread a really computationally intensive page ?
  • Previous by thread: Re: SQL Query from EOFetchspecification
  • Next by thread: Questions after new install WO541
  • Index(es):
    • Date
    • Thread