1 Reply Latest reply on Aug 15, 2008 5:59 PM by Francisco Jose Peredo Noguez

    entityQuery.refresh() from managed bean?

    egor kolesnikov Newbie

      Hello!


      I've read through many jboss forum topics, but still did not found any solutions.


      How do I refresh an entity query from my managed bean? We do not have any transactions in our web part, so I cannot just raiseTransactionSuccessEvent() because it throws an exception. Are there any possible ways to do this?

        • 1. Re: entityQuery.refresh() from managed bean?
          Francisco Jose Peredo Noguez Master

          Hi!



          egor kolesnikov wrote on Aug 15, 2008 14:04:


          Hello!

          How do I refresh an entity query from my managed bean?



          I guess you called entityQuery.refresh() and it didn't do what you expected (can you explain what you were expecting?)



          We do not have any transactions in our web part, so I cannot just raiseTransactionSuccessEvent() because it throws an exception.



          What do you mean by not having transactions? You disabled Seam transaction management with transaction-management-enabled=false?



          Are there any possible ways to do this?



          I just don't quite get what are  you trying to do :-(. Maybe if you explain it in a more detailed way?





          Regards,