• 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: Fetch spec with raw SQL
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Fetch spec with raw SQL


  • Subject: Re: Fetch spec with raw SQL
  • From: Chuck Hill <email@hidden>
  • Date: Mon, 10 Apr 2006 16:24:55 -0700

Randy,

On Apr 10, 2006, at 3:12 PM, Randy Wigginton wrote:
If someone can point me to an example, I’d be most grateful.

I want to create a fetch spec with two bind variables, yet using custom sql. Is there a way to do it?
I don't know, but I will ask why? Are you sure you need custom SQL? I've done a bit of WebObjects, and I don't recall ever having to use custom SQL in a fetch spec. EOF is remarkably flexible when it comes to generating SQL. Perhaps there is another, better, more portable solution to your problem.

Chuck
I’ve created a fetch spec with two keys, and I’ve executed it. As soon as I click the button for “raw sql”, I get an oracle error (not all variables bound).

Is there some kind of trick? This seems incredibly simple, yet I can’t get it to work.


--
Coming in late 2006 - an introduction to web applications using WebObjects and Xcode http://www.global-village.net/wointro


Practical WebObjects - for developers who want to increase their overall knowledge of WebObjects or who are trying to solve specific problems. http://www.global-village.net/products/practical_webobjects




_______________________________________________ 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: Fetch spec with raw SQL
      • From: Randy Wigginton <email@hidden>
References: 
 >Fetch spec with raw SQL (From: "Randy Wigginton" <email@hidden>)

  • Prev by Date: Fetch spec with raw SQL
  • Next by Date: Re: Fetch spec with raw SQL
  • Previous by thread: Fetch spec with raw SQL
  • Next by thread: Re: Fetch spec with raw SQL
  • Index(es):
    • Date
    • Thread