If you query the database after calling merge - does the change show
up in there? Does it happen in multiple browsers?

Matt

On 2/11/08, Ding, Qin <[EMAIL PROTECTED]> wrote:
> Matt:
>
>  Yes, I did.
>  getHibernateTemplate().merge(group);
>  getHibernateTemplate().flush();
>  getHibernateTemplate().refresh(group);
>
>
>
>  -----Original Message-----
>  From: Matt Raible [mailto:[EMAIL PROTECTED]
>  Sent: Friday, February 08, 2008 4:22 PM
>  To: [email protected]
>  Subject: Re: [appfuse-user] a cache question
>
>  Have you tried flushing the SessionFactory after updating the
>  collection?
>
>  Matt
>
>  On Feb 8, 2008, at 1:27 PM, Ding, Qin wrote:
>
>  >
>  > I have a department domain object which contains a list of user
>  > objects.
>  > After the admin adds or removes a user from the department, I had a
>  > hard
>  > time to see the modified department's user list unless I logout, close
>  > the browser, open a new browser session and the login again, then I
>  > can
>  > see the department has a new user list.
>  >
>  > I don't use any second-level cache yet. How can I see the change
>  > without
>  > having to logout and to close the browser?
>  >
>  > I am using Appfuse 1.9.4/DB2/JSF.
>  >
>  > QD
>  >
>  > ---------------------------------------------------------------------
>  > To unsubscribe, e-mail: [EMAIL PROTECTED]
>  > For additional commands, e-mail: [EMAIL PROTECTED]
>  >
>  >
>  >
>  >
>  > ---------------------------------------------------------------------
>  > To unsubscribe, e-mail: [EMAIL PROTECTED]
>  > For additional commands, e-mail: [EMAIL PROTECTED]
>  >
>
>
>  ---------------------------------------------------------------------
>  To unsubscribe, e-mail: [EMAIL PROTECTED]
>  For additional commands, e-mail: [EMAIL PROTECTED]
>
>
>
>  ---------------------------------------------------------------------
>  To unsubscribe, e-mail: [EMAIL PROTECTED]
>  For additional commands, e-mail: [EMAIL PROTECTED]
>
>

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

Reply via email to