1 Reply Latest reply on Aug 27, 2007 12:11 PM by pmuir

    EntityQuery Question

    mrohad

      when I call the EntityHome.persist() and then using the EntityQuery.resultset for the same entity bean the resultset doesn't retrieve the new entity I'd just persisted...
      when i am calling entityQueey.refresh it does work...
      is there any workaround for that?
      otherwise how can I access the entityQuery from the entityHome?

      thank u veru much.

        • 1. Re: EntityQuery Question
          pmuir

          In Seam CVS you can use the org.jboss.seam.afterTransactionSuccess. event for this. There is some docs in the Seam Application Framework chapter about this.