unsuscribe

>From: Steve Muench <[EMAIL PROTECTED]>
>Reply-To: Steve Muench <[EMAIL PROTECTED]>
>To: [EMAIL PROTECTED]
>Subject: Re: Do EJB-QL-based Finders Always Select the "Whole Bean"
>Date: Sun, 26 Aug 2001 18:30:31 -0700
>
>Thanks, Juan. This helps clear up my thinking...
>
>_____________________________________________________________________
>Steve Muench - Developer, Product Manager, XML Evangelist, Author
>"Building Oracle XML Applications" - www.oreilly.com/catalog/orxmlapp
>
>----- Original Message -----
>From: "Juan Lorandi (Chile)" <[EMAIL PROTECTED]>
>To: "'Steve Muench'" <[EMAIL PROTECTED]>
>Sent: Sunday, August 26, 2001 3:45 PM
>Subject: RE: Do EJB-QL-based Finders Always Select the "Whole Bean"
>
>
>Nope. It's always SELECT *, but you CAN specify fields in the WHERE clause;
>however, EQL's finders return:
>
>A Remote Interface(Of an Entity Bean);
>A Collection/Enumeration of Remote Interface(Of an Entity Bean).
>
>Thereforem the kind of query you want to build makes no sense under the
>current spec. It's not SQL, it's EQL
>
>HTH,
>
>Juan Pablo
>
> > -----Original Message-----
> > From: Steve Muench [mailto:[EMAIL PROTECTED]]
> > Sent: S�bado, 25 de Agosto de 2001 19:44
> > To: [EMAIL PROTECTED]
> > Subject: Do EJB-QL-based Finders Always Select the "Whole Bean"
> >
> >
> > 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".
> >
> >
> > ______________________________________________________________
> > ______________
> > For your protection, this e-mail message has been scanned for Viruses.
> > Visit us at http://www.neoris.com/
> >
>
>===========================================================================
>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".
>


_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp

===========================================================================
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