Re: SQL Query from EOFetchspecification
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