In reading through a book on EJB that covers some EJB 2.0 topics,
one question left in my mind was whether finder methods defined
by EJB-QL queries always return the whole entity bean object,
or whether the developer can just select a few attributes of
the entities (like just an order number and an order total
from a large Order entity bean) if that's the subset of
information that they want?

Thinking about the SQL statement that the container might translate
the EJB-QL query into under the covers, I guess I'm effectively
asking whether conceptually the EJB-QL query always has a "SELECT *"
where "*" is <all-attributes-from-this-entity> or whether
there are valid EJB-QL expressions that would let the developers
just SELECT order_id, order_total FROM order.


_____________________________________________________________________
Steve Muench - Developer, Product Manager, XML Evangelist, Author
"Building Oracle XML Applications" - www.oreilly.com/catalog/orxmlapp

===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff EJB-INTEREST".  For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".

Reply via email to