An quick fix would be set lazy="false" in your hbm files.  It depends
on your app if this will be too much overhead, but it will fix the
problem.

On 8/3/05, Will Scheidegger <[EMAIL PROTECTED]> wrote:
> Sorry for the mass production of questions, but no matter which way I'm
> trying to work around my problems (see previous posts) I trip over new
> ones!
> 
> Since I was not able to reliably change a locale with an ActionLink
> (stale link exception, cleared out all page attributes etc.) I decided
> to give DirectLink and ExternalLink a try. I don't need a stateful link
> anyway, I would even prefer a stateless one!
> 
> Unfortunately, now I'm getting a hibernate LazyInitializatioException
> 
> You might say now that this is not a Tapestry problem... and you're
> probably right. The strange thing though is that I'm using the exact
> same DAO to get the data out of the DB that I've used before with
> ActionLinks - needless to say that this worked perfectly with
> ActionLinks.
> 
> I guess it does not make much sense to simply ask "How do you do it?"
> because that's probably a bit vague, but I'm desperate... ;-)
> 
> -Will
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 


-- 
~chris

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

Reply via email to