Hi Mad,

the following link

http://cvs.castor.codehaus.org/viewrep/castor/castor/src/tests/jdo/StoredProcedure.java?r=1.5

shows you a working example on how to call a stored procedure. This
code, by the way, is taken from one of the existing Castor JDO
functional tests in the src/tests directory.

Regards
Werner Guttmann

madhavi latha wrote:
> Hello All,
> 
>       I want to call the Stored Procedure from Castor JDO
> but didn't find much help anywhere for the same.
> Please let me know if there is any documentation or
> examples available..
> 
> In the castor site it says to use:
> oql = db.getOQLQuery("CALL sp_something($) AS
> myapp.Product");
> 
> Now I have IN and OUT parameters, do I need to send
> all the IN parameters at ($) with comma...
> and receive the OUT parameters from myapp.Product (or
> equivalent pojo file)...
> 
> Any help is greatly Appreciated ...
> 
> Thanks in advance!!!  
> Mad
> 
> __________________________________________________
> Do You Yahoo!?
> Tired of spam?  Yahoo! Mail has the best spam protection around 
> http://mail.yahoo.com 
> 
> -------------------------------------------------
> If you wish to unsubscribe from this list, please 
> send an empty message to the following address:
> 
> [EMAIL PROTECTED]
> -------------------------------------------------
> 
> 


-------------------------------------------------
If you wish to unsubscribe from this list, please 
send an empty message to the following address:

[EMAIL PROTECTED]
-------------------------------------------------

Reply via email to