Re: SQL and ASP In WebObjects
Re: SQL and ASP In WebObjects
- Subject: Re: SQL and ASP In WebObjects
- From: Donna Yorukoglu <email@hidden>
- Date: Thu, 2 Jan 2003 11:17:06 -0500
For SQL, try this:
public NSArray sqlFetch(){
String query = "SELECT * FROM TABLE"; //Replace with your SQL
string
NSMutableDictionary hint = new NSMutableDictionary();
hint.setObjectForKey(query,
EODatabaseContext.CustomQueryExpressionHintKey);
fspec.setHints(hint);
NSArray results =
context.objectsWithFetchSpecification(fspec);
return results;
}
As for ASP, I'm not sure... However, there is a WOVBScript dynamic
element:
http://developer.apple.com/techpubs/webobjects/Reference/
DynamicElements/WOVBScript/index.html
D.
Donna Yorukoglu
Applications Systems Analyst/Programmer - Senior
Outreach Information Systems
email@hidden
On Thursday, January 2, 2003, at 12:50 AM, Riaz Lalehzari wrote:
Hello,
Does anyone know if you can use pure sql in your projects? I want to
do some authentication by username and password. Also, is it possible
to incorporate .asp in your project?
P.S - Are there any other good sources where we can get documentation
about these things?
Riaz
---------------------------------------
_________________________________________________________________
Protect your PC - get McAfee.com VirusScan Online
http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963
_______________________________________________
webobjects-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/webobjects-dev
Do not post admin requests to the list. They will be ignored.
_______________________________________________
webobjects-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/webobjects-dev
Do not post admin requests to the list. They will be ignored.