hi sven,

newQuery returns real business-objects (ie. Person) with all attributes filled, thus it selects all columns. newReportQuery lets you define what columns you want to select, but it returns a simple array of objects (Object[]).

jakob

Just Fun 4 You wrote:

Hi,

I am new to OJB and wondering when I should use QueryFactory.newQuery() and
QueryFactory.newReportQuery(). May be this answers my second question: how
to select specific attributes in a query so that not all attributes are
considered (e.g. which I am not interested in)?

Thank you for your help.

Sven


--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to