Re: T5 @Persist with hibernate objects

2008-05-10 Thread Toby Hobson
Yeah I should have thought of that one! Thanks Thiago! Toby - Original Message From: Thiago HP <[EMAIL PROTECTED]> To: Tapestry users ; Toby Hobson <[EMAIL PROTECTED]> Sent: Saturday, 10 May, 2008 8:33:16 PM Subject: Re: T5 @Persist with hibernate objects On 5/10/08,

Re: T5 @Persist with hibernate objects

2008-05-10 Thread Thiago HP
On 5/10/08, Toby Hobson <[EMAIL PROTECTED]> wrote: > But now I'm getting LazyInitialization exceptions from hibernate because the > results have been detached from the session. I guess I'm going to have to re- > attach the object to the session inside my getResults() method but this seems > like a

T5 @Persist with hibernate objects

2008-05-10 Thread Toby Hobson
Hi I have hit an interesting problem: basically I am trying to search for some records and display them in a list - simple stuff. The problem is that Tapestry uses a redirect-after-post design so I have to stick the search results in the session: @Persist("flash") private SearchResults