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

SQL Query from EOFetchspecification


  • Subject: SQL Query from EOFetchspecification
  • From: <email@hidden>
  • Date: Thu, 27 Mar 2008 15:45:55 +0530
  • Thread-topic: SQL Query from EOFetchspecification

Hello All,

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

For Example:


        NSArray arrTemp;
        NSMutableArray args = new NSMutableArray();
        args.addObject("USA");
        args.addObject("New york");
        EOQualifier qual =
EOQualifier.qualifierWithQualifierFormat("country = %@ and city = %@",
args);

        NSMutableArray sort = new NSMutableArray();
        EOSortOrdering ordering1 = new EOSortOrdering ("name",
EOSortOrdering.CompareAscending);
        sort.addObject(ordering1);
        EOFetchSpecification spec = new EOFetchSpecification("Address",
qual, sort);


Here I want the SQL query of the "spec"


Regards,
Rohit Goel
----------------------------------------------------------------
 _______________________________________________
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

  • Follow-Ups:
    • Re: SQL Query from EOFetchspecification
      • From: Art Isbell <email@hidden>
    • Re: SQL Query from EOFetchspecification
      • From: "John Huss" <email@hidden>
    • Re: SQL Query from EOFetchspecification
      • From: Alexander Spohr <email@hidden>
References: 
 >Re: WWDC Tickets (From: Miguel Arroz <email@hidden>)

  • Prev by Date: Fwd: WebObjects 5.4(.1) and https
  • Next by Date: Re: SQL Query from EOFetchspecification
  • Previous by thread: Re: WWDC Tickets
  • Next by thread: Re: SQL Query from EOFetchspecification
  • Index(es):
    • Date
    • Thread