executing a function without input parameter

Yamuna Vallipuram <[email protected]>
Newsgroups gmane.comp.web.webobjects.devel
Message-ID <[email protected]>
Hi all...

I am having problems executing a function which does not have a input  
parameter.  I am getting the following error: EvaluateExpression  
failed: <com.webobjects.jdbcadaptor.OraclePlugIn$OracleExpression:  
"{ ? = call F_REQUESTSESSIONID}" withBindings:  
1:<com.webobjects.foundation.NSKeyValueCoding$Null>(returnValue)>:


My code looks like this.
  Instead of null argument I also tried with empty NSMutableDictionary.


public Number generateSessid(){
	NSDictionary outlist;
	Number	outNumber=null;
	//NSMutableDictionary dict = new NSMutableDictionary();
	try {
		outlist=  EOUtilities.executeStoredProcedureNamed(getEC(),  
"fRequestsessionid", null);
		outNumber= (Number)outlist.objectForKey("returnValue");
		}catch (Exception e) {
		getSession().leggTilFeilmelding("Feil ved kjøring av  
databaseprosedyr pRequestsessionid !");
			logger.warn("Feil ved kjøring av databaseprosedyre  
pRequestsessionid:" + e);
		}
		return outNumber;
	}

Any help would be appreciated...
regards
Yamuna
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.