5 Replies Latest reply on Dec 22, 2004 8:56 AM by stscit04

    EJB QL: Selecting anything different than entity beans

    . . Newbie

      Is it possible in EJB QL to select only some attributes of an entity bean. Something like:

      SELECT OBJECT(b) FROM Customer AS a, IN(a.customerName) AS b

      This select does not work, I know but why?
      What I really want to do, is to select Collections of Value-Objects (Pojo) with EJB QL. It might be very fast and would simplify the source of the session beans.
      Is that possible?