• 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
Using Stored procudures in WO
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Using Stored procudures in WO


  • Subject: Using Stored procudures in WO
  • From: jerry porter <email@hidden>
  • Date: Tue, 30 Jan 2007 08:44:42 -0800 (PST)

Hello,

I would like to know if I can get a bit of help in understanding how to use stored procedures in WO.

I am running 5.22 on windows and connecting to SQLServer 2000 and Oracle 10g

I have been using WO now for about 10 years and have never had to use a stored procedure.

Basically I have been asked to use a stored procedure to fetch rows instead of a sql query to my SQLServr DB.

I will be passing two parameters (Strings), and expect to return a result set  (array of rows).

The existing query works but the intent is to turn it into a stored procedure.

I looked at the docs and there are couple of methods in EOUtilities that support stored procedures, I kind of get how to setup a stored procedure in the model.

There is even a way to use a stored procedure in a fetchspec in the model, though there does not appear to be any explicit api in a fetchspec to set it up.

Any help would be appreciated.

Jerry Porter
2200 Benjamin Franklin Parkway
APT S1114
Philadelphia, PA 19130
(301) 461-3854



____________________________________________________________________________________
TV dinner still cooling?
Check out "Tonight's Picks" on Yahoo! TV.
http://tv.yahoo.com/
 _______________________________________________
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: Using Stored procudures in WO
      • From: Robert Walker <email@hidden>
  • Prev by Date: Re: adding message boards/forums
  • Next by Date: Re: Using Stored procudures in WO
  • Previous by thread: Re: adding message boards/forums
  • Next by thread: Re: Using Stored procudures in WO
  • Index(es):
    • Date
    • Thread