This one time, at band camp, Arun Sudhakaran said:

AS>        I tried using my own queries in castor using the CALL SQL before the query 
like shown in the example.
AS>
AS>        computerOql = db.getOQLQuery( "CALL SQL SELECT id,cpu FROM COMPUTER" );
AS>
AS>I get an exception as shown below
AS>
AS>[test] org.exolab.castor.jdo.QueryException: Stored procedure call must end with
AS> "AS <class-name>"

Arun,

Please see http://www.castor.org/jdo-faq.html#OQL under the question 'Can I write a 
pass-thru OQL?'

Bruce
-- 
perl -e 'print unpack("u30","<0G)U8V4\@4VYY9&5R\"F9E<G)E=\$\!F<FEI+F-O;0\`\`");'

----------------------------------------------------------- 
If you wish to unsubscribe from this mailing, send mail to
[EMAIL PROTECTED] with a subject of:
        unsubscribe castor-dev

Reply via email to