Who knows the "Sharpen your pencil" answers? I can't find them on the Oreilly web site.
Circle the EJB-QL statement if it has a legal SELECT clause SELECT OBJECT (m) FROM MovieSchema m SELECT m.title FROM MovieSchema m SELECT m from MovieSchema m SELECT OBJECT (m.title) FROM MovieSchema m
Thanks in advance.
I not only use all the brains that I have, but all that I can borrow. [Laurence J. Peter]
posted 12 years ago
Circle the EJB-QL statement if it has a legal SELECT clause SELECT OBJECT (m) FROM MovieSchema m - ok SELECT m.title FROM MovieSchema m - ok SELECT m from MovieSchema m - not ok - must use OBJECT(m) SELECT OBJECT (m.title) FROM MovieSchema m - not ok, OBJECT can't use cmp or cmr field
Basically if you use Object only when you want the every thing in the abstract schema (instead of field) to return. Note that it is case INsensitve.
SCBCD, SCWCD, SCJP
What are you doing? You are supposed to be reading this tiny ad!
the new thread boost feature brings a LOT of attention to your favorite threads