Re: Calling a named fetch specification that uses a stored procedure

2008-07-31 Thread Mr. Frank Cobia
Does anyone have experience using a stored procedure to create a fetch  
specification in Entity Modeler?


Frank

On Jul 29, 2008, at 1:39 PM, Mr. Frank Cobia wrote:

I have a stored procedure that takes 2 arguments. I have also  
created a named procedure on an entity that uses that stored  
procedure to fetch the data. When I call the stored procedure using  
rawRowsForStoredProcedureNamed(ec, myStoredProcedure, dict) it  
works, but when I use  
EOFetchSpecification.fetchSpecificationNamed(myFetchSpec,  
MyEntity.ENTITY_NAME).fetchSpecificationWithQualifierBindings(dict)  
it calls the stored procedure with 2 null arguments. I am using the  
same dictionary for both calls, so it is not a mispelling or  
anything. Is there a trick to making this work?


If it matters I am using 5.4.2 and latest wonder that is compatible  
with Eclicps 3.3.


Thanks,
Frank Cobia

___
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/frank.cobia%40f2technology.com

This email sent to [EMAIL PROTECTED]



___
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]


Calling a named fetch specification that uses a stored procedure

2008-07-29 Thread Mr. Frank Cobia
I have a stored procedure that takes 2 arguments. I have also created  
a named procedure on an entity that uses that stored procedure to  
fetch the data. When I call the stored procedure using  
rawRowsForStoredProcedureNamed(ec, myStoredProcedure, dict) it  
works, but when I use  
EOFetchSpecification.fetchSpecificationNamed(myFetchSpec,  
MyEntity.ENTITY_NAME).fetchSpecificationWithQualifierBindings(dict) it  
calls the stored procedure with 2 null arguments. I am using the same  
dictionary for both calls, so it is not a mispelling or anything. Is  
there a trick to making this work?


If it matters I am using 5.4.2 and latest wonder that is compatible  
with Eclicps 3.3.


Thanks,
Frank Cobia

___
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]