executeStoredProcedureNamed - first time use; looking for a jumpstart
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