Hi Paulie

On the hibernate side you might be looking to simply re-associate the
object with the current session -  since you opened up another session
the object from the first session is no longer part of the session.  I
remember that you can simply update the object to be associated with
the current session, an thus be able to save it back. (This may not be
the most efficient way though. esp if your object is large... so maybe
follow the lead transactions in spring if efficiency is what you
need).
In the hibernate manual look at "Modifying detached objects" in the
chapter on "objectstate". -- session.update(....
Hope that helps - (can't wait to do more work with hibernate myself... ) Carl


On 10/19/07, Bruce S. <[EMAIL PROTECTED]> wrote:
>
> Hi Paulie,
>
> I think you might be looking for OpenSessionInViewInterceptor
> (http://tinyurl.com/2uqemj) or OpenSessionInViewFilter.
>
> Cheers,
> Bruce
>
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"CTJUG Forum" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/CTJUG-Forum
For the ctjug home page see http://www.ctjug.org.za
-~----------~----~----~----~------~----~------~--~---

Reply via email to