0 Replies Latest reply on Nov 2, 2008 6:46 AM by elenctic87

    putting @Factory on getResultList

    elenctic87

      From the UI I am accessing the result set of an EntityQuery via #{auctionList.resultList}.  AuctionList is a class that extends EntityQuery.  Every time the UI accesses the above EL expression, the database is accessed.  I would like to avoid that.  I think @Factory on that method would do the trick, right?  How can I put @Factory on the resultList for the AuctionList?  The method is somewhere in the superclass so I can't really override it, can I b/c I don't know what it contains.  If @Factory is not the correct way to avoid DB hits, please advise otherwise.  Thanks!