Hello,

To improve the performance of some queries, I am trying get Castor to return just a 
single field (instead of an entire object graph) as the query result.

But when I try:  SELECT o.name FROM Customer o

(Customer has a 'String name' field)

It creates SQL:  SELECT 1 FROM CUSTOMER

And my result set is an Integer(1) for each row in the CUSTOMER table.

My reading the the archives and the OQL FAQ makes me think this SHOULD work.  Is this 
just not implemented yet?

TIA
Paul Tetley

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

Reply via email to