• 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: Chuck Hill <email@hidden>
  • Date: Thu, 13 Apr 2006 13:29:10 -0700

rawRowsForSQL is intended for SQL select statements that return a rowset. I am not familiar with Sybase but I will hazard a guess that whatever you are callling does not have a rowset return result. You might need to dig down to EOAdaptorChannel.evaluateExpression (EOSQLExpression expression)

Chuck

On Apr 13, 2006, at 1:21 PM, Jerry Haynes wrote:

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:
40global-village.net


This email sent to email@hidden

--
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
References: 
 >exec sp_password using rawRowsForSQL (From: Jerry Haynes <email@hidden>)

  • Prev by Date: exec sp_password using rawRowsForSQL
  • Next by Date: Re: exec sp_password using rawRowsForSQL
  • Previous by thread: exec sp_password using rawRowsForSQL
  • Next by thread: Re: exec sp_password using rawRowsForSQL
  • Index(es):
    • Date
    • Thread