You are viewing a plain text version of this content. The canonical link for it is here.
Posted to ojb-user@db.apache.org by Abid Hussain <ab...@abid76.de> on 2006/04/17 22:43:19 UTC

don't need all columns

Hi everybody,

I'm quite a newbie in OJB, so maybe I have overlooked something.

In most cases I don't need all colums of a table when I do a query. So, 
how do I tell OJB not to retrieve all 25 (e.g.) columns of a table but 
only the ones I need?

Best regards,

Abid Hussain

-- 

Abid Hussain
Mail: abid.hussain@abid76.de
Tel.: 0179 / 9080412
Web: http://www.abid76.de

---------------------------------------------------------------------
To unsubscribe, e-mail: ojb-user-unsubscribe@db.apache.org
For additional commands, e-mail: ojb-user-help@db.apache.org


Re: don't need all columns

Posted by Antonio Gallardo <ag...@agssa.net>.
Hi,

You should use a ReportQuery [1].

Best Regards,

Antonio Gallardo.

[1] http://db.apache.org/ojb/docu/guides/query.html#Report+Queries


Abid Hussain escribió:
> Hi everybody,
>
> I'm quite a newbie in OJB, so maybe I have overlooked something.
>
> In most cases I don't need all colums of a table when I do a query. 
> So, how do I tell OJB not to retrieve all 25 (e.g.) columns of a table 
> but only the ones I need?


---------------------------------------------------------------------
To unsubscribe, e-mail: ojb-user-unsubscribe@db.apache.org
For additional commands, e-mail: ojb-user-help@db.apache.org