[jboss-jira] [JBoss JIRA] Commented: (JBFORUMS-94) Refresh issue for actions
Ryszard Kozmik (JIRA)
jira-events at jboss.com
Tue Jul 18 17:39:11 EDT 2006
[ http://jira.jboss.com/jira/browse/JBFORUMS-94?page=comments#action_12339769 ]
Ryszard Kozmik commented on JBFORUMS-94:
----------------------------------------
Solution:
Call getForumsModule().getHibernate().getSessionFactory().getCurrentSession().flush(); after database operations. It should be needed only when we move entity from one parent to another in hierarchy.
> Refresh issue for actions
> -------------------------
>
> Key: JBFORUMS-94
> URL: http://jira.jboss.com/jira/browse/JBFORUMS-94
> Project: JBoss Forums
> Issue Type: Sub-task
> Components: Java Server Faces based UIController layer
> Reporter: Ryszard Kozmik
> Assigned To: Ryszard Kozmik
> Fix For: 1.0.0 Alpha
>
> Time Spent: 4 hours, 45 minutes
>
> After executing an action and than showing the moderator's view again, effect of the action is not visible. Probably this is because of that hibernate entities are not refreshed.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jboss-jira
mailing list