Re: exec sp_password using rawRowsForSQL
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