Hello appfuse users,

  I created two controllers in my application. One save some entity
the other one list the saved entities with a filter (for example,
entities created after yesterday).
 After saving an entity, I redirect to the list controller setting up
some filters parameters where the saved entity should be considered.
The problem is: some times the entity appears some times not. When it
doesn't, if I refresh the page it appears. I setup the controller to
sleep for 2 seconds after save an entity and now it always appears. I
also tried to change the DAO code to call flush after saving the
entity, but that didn't work.
 I'm using Hibernate to persist the entity. Has anyone experienced this before?

thanks,
Luiz

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to