Re: Hibernate, HTTP Session, and LazyInitializationException

2009-02-25 Thread John Dell'Aera
-- From: "suhas kokal" Sent: Wednesday, February 25, 2009 11:12 PM To: "Struts Users Mailing List" Subject: Re: Hibernate, HTTP Session, and LazyInitializationException Hi all, If some body knows hot to use javascript alerts with struts 2

Re: Hibernate, HTTP Session, and LazyInitializationException

2009-02-25 Thread Nils-Helge Garli Hegvik
ease find me the way. > > Thanks a lot in advance. > > Suhas. > > > --- On Wed, 25/2/09, Paul Benedict wrote: > >> From: Paul Benedict >> Subject: Hibernate, HTTP Session, and LazyInitializationException >> To: "Struts Users Mailing List" >&

Re: Hibernate, HTTP Session, and LazyInitializationException

2009-02-25 Thread suhas kokal
Hi all, If some body knows hot to use javascript alerts with struts 2.0 (when validation framework fires)please find me the way. Thanks a lot in advance. Suhas. --- On Wed, 25/2/09, Paul Benedict wrote: > From: Paul Benedict > Subject: Hibernate, HTTP Sessio

Re: Hibernate, HTTP Session, and LazyInitializationException

2009-02-25 Thread Antonio Petrelli
2009/2/25 Paul Benedict : > I had a servlet filter written that attached the entity per request, > but a double-click from the user showed the futility of that approach. > You can't have one entity attached to two sessions :-) Uh sorry I did not read correctly this sentence. You are right, the sam

Re: Hibernate, HTTP Session, and LazyInitializationException

2009-02-25 Thread Antonio Petrelli
2009/2/25 Paul Benedict : > Does anyone have a good solution for objects stored in an HTTP Session > that should be reattached per request? For example, like the > authenticated "user" object stored in the HTTP Session. > > I had a servlet filter written that attached the entity per request, > but

Hibernate, HTTP Session, and LazyInitializationException

2009-02-24 Thread Paul Benedict
Does anyone have a good solution for objects stored in an HTTP Session that should be reattached per request? For example, like the authenticated "user" object stored in the HTTP Session. I had a servlet filter written that attached the entity per request, but a double-click from the user showed t