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

    putting @Factory on getResultList

    Andrew Fuqua Newbie

      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!