• 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
executeStoredProcedureNamed - first time use; looking for a jumpstart
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

executeStoredProcedureNamed - first time use; looking for a jumpstart


  • Subject: executeStoredProcedureNamed - first time use; looking for a jumpstart
  • From: WebObjects <email@hidden>
  • Date: Sun, 07 Nov 2004 07:56:58 -0800

A few quick questions, having never used stored procedures before.

I'm working with a database that has hundreds of stored procedures, which
lead me to read up on both eomodels and eoutilities to find that there
doesn't seem to be a lot to it, or just not a lot written about it.

Does anyone have a snippet of code they can share showing how they most
easily code for a routine execution of a store procedure?  And, is it safe
to say that if using for an insert or delete procedure we can entirely
disregard return values?

Thanks for your help!

-Bill Reynolds


 executeStoredProcedureNamed
public static NSDictionary executeStoredProcedureNamed(EOEditingContext ec,
                                                       String name,
                                                       NSDictionary args)
Executes the specified stored procedure with the provided arguments.
Returns the stored procedure's return values (if any). Use  only with stored
procedures that don't return results rows.

 Parameters:
ec - an EOEditingContext
name - the name of the stored procedure to call
args - an NSDictionary of arguments (values keyed by argument name)
 Returns:
the stored procedure return value in an NSDictionary


 _______________________________________________
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

  • Prev by Date: [Book review] "Practical WebObjects" by Charles Hill and Sacha Mallais
  • Next by Date: RE: EOF inserts PK automatically
  • Previous by thread: [Book review] "Practical WebObjects" by Charles Hill and Sacha Mallais
  • Next by thread: Re: EOF inserts PK automatically (Modified by Kieran Kelleher)
  • Index(es):
    • Date
    • Thread