This one time, at band camp, Tetley, Paul said:

TP>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.
TP>
TP>But when I try:  SELECT o.name FROM Customer o
TP>
TP>(Customer has a 'String name' field)
TP>
TP>It creates SQL:  SELECT 1 FROM CUSTOMER
TP>
TP>And my result set is an Integer(1) for each row in the CUSTOMER table.
TP>
TP>My reading the the archives and the OQL FAQ makes me think this SHOULD work.  Is 
this just not implemented yet?

Paul,

Unfortunately, the selection of a single field within an object is
not currently supported.

Bruce
--

perl -e 'print unpack("u30","<0G)[EMAIL PROTECTED]&5R\"F9E<G)E=\$\!F<FEI+F-O;0\`\`");'

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

Reply via email to