Hello,

I fixed this yesterday, try CVS version please.
Sorry, after I cleaned up some code in database drivers this bug uncovered.

Oleg

On Friday 24 August 2001 04:56, rngm wrote:
> Hello-
>
> I'm new to Castor and OQL.  I am trying to create a static method for a
> class that would retrieve all items (eg. urls) for a given class from the
> database.
>
> My query is:
> OQLqry = db.getOQLQuery( "SELECT s.url FROM utasklist.Site s" );
> res = OQLqry.execute();
>
> //Marshaller     marshaller;
> //marshaller = new Marshaller( writer );
> //marshaller.setMapping( _mapping );
>
> while (res.hasMore()){
>   writer.println("In res.hasMore(): " + res.next());
> }
>
> The problem with this is I cannot retrieve the value for url.  The output I
> currently get is 1 for each iteration.  Can this be done?
>
> Any ideas would be appreciated.
>
> Thanks
> - Rajiv
>
> -----------------------------------------------------------
> If you wish to unsubscribe from this mailing, send mail to
> [EMAIL PROTECTED] with a subject of:
>       unsubscribe castor-dev

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

Reply via email to