Hi Bert,
If I am not mistaken instead of using the ? you would use $1, $2,
.... $n, etc.
If you still have trouble email me, and I'll send a small patch that
lets you use the ? as normal.
Hope that helps.
Walt
> What I run in code is:
>
> q = db.getOQLQuery( "CALL SQL SELECT g.gname, r.rname, p.pname
> FROM .......grum.user_id=? AS "
> +
> FakeACL.class.getName() );
> q.bind( bUser.getId() );
> qr = q.execute();
>
> What I get as an error message is:
>
> java.lang.IllegalArgumentException: Only 0 fields in this query
> at
> org.exolab.castor.jdo.engine.OQLQueryImpl.bind(OQLQueryImpl.java:153)
> at ......
>
> If anybody knows how to make this work I would be forever in their debt
> (well I'd be mighty happy and very thankful atleast)
>
*****************************************************
Walter Szewelanczyk
IS Director
M.W. Sewall & CO. email : [EMAIL PROTECTED]
259 Front St. Phone : (207) 442-7994 x 128
Bath, ME 04530 Fax : (207) 443-6284
*****************************************************
-----------------------------------------------------------
If you wish to unsubscribe from this mailing, send mail to
[EMAIL PROTECTED] with a subject of:
unsubscribe castor-dev