• 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: exec sp_password using rawRowsForSQL
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: exec sp_password using rawRowsForSQL


  • Subject: Re: exec sp_password using rawRowsForSQL
  • From: Jean-François Veillette <email@hidden>
  • Date: Thu, 13 Apr 2006 16:34:44 -0400

You might be better using stored-procedure capacities of eof instead of raw-row. In EOModeler, let the model know about the stored-proc, the input / output fields, etc. That way there is more chance it's going to work.

- jfv

Le 06-04-13, à 16:21, Jerry Haynes a écrit :

Has anyone successfully called sp_password on a Sybase database? Nothing is being returned back to theArray so I have no clue what the problem might be.

private NSArray setSybasePassword(String eoModel, String masterPassword, String newPassword, String userName) {
EOEditingContext context = session().defaultEditingContext();

String sqlString = "exec sp_password '" + masterPassword + "', '" + newPassword + "', '" + userName + "'";

NSArray theArray = EOUtilities.rawRowsForSQL(context, eoModel, sqlString, null);
//NSLog.out.appendln("*********** " + eoModel + " -- " + sqlString + " -- " + theArray + " ************");
return theArray;
}



Thanks,
Jerry
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
email@hidden


This email sent to email@hidden


http://www.freeiPods.com/?r=21419063

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around
http://mail.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


References: 
 >exec sp_password using rawRowsForSQL (From: Jerry Haynes <email@hidden>)

  • Prev by Date: Re: exec sp_password using rawRowsForSQL
  • Next by Date: Use XCode or Use Eclipse and WOLips???
  • Previous by thread: Re: exec sp_password using rawRowsForSQL
  • Next by thread: Re: exec sp_password using rawRowsForSQL
  • Index(es):
    • Date
    • Thread