Re: [OT]: Struts and Hibernate lazy

2005-08-25 Thread Shajee
Hi i want to unsubscribe from this group. Kindly unsubscribe me. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: [OT]: Struts and Hibernate lazy

2005-08-25 Thread Letícia Álvares Barbalho
To unsubscribe, e-mail: [EMAIL PROTECTED] On 8/25/05, Shajee [EMAIL PROTECTED] wrote: Hi i want to unsubscribe from this group. Kindly unsubscribe me. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional

Re: Struts and Hibernate lazy

2005-08-10 Thread Konrad Billewicz
Nick Heudecker nheudecker at gmail.com writes: The most common way to solve this problem is to use the Open Session In View pattern, which leaves the Hibernate session open until the JSP has finished rendering. Typically accomplished with a filter, there is also a Struts plugin to help with

RE: Struts and Hibernate lazy

2005-08-10 Thread Marco Mistroni
Hello, Could you tell me more? Which filter? Do you mean Tomcat filters? Which plugin? It's a Servlet Filter if I am correct.. Plugin is a Struts plugin If you check www.hibernate.org in FAQ there should be a link to those informations.. Regards marco

Re: Struts and Hibernate lazy

2005-08-10 Thread Gareth Evans
http://www.javalobby.org/java/forums/t20533.html Marco Mistroni wrote: Hello, Could you tell me more? Which filter? Do you mean Tomcat filters? Which plugin? It's a Servlet Filter if I am correct.. Plugin is a Struts plugin If you check www.hibernate.org in FAQ there should be a link

Re: [OT]: Struts and Hibernate lazy

2005-08-10 Thread Konrad Billewicz
Lindholm, Greg glindholm at neom.com writes: What I do is use a Hibernate Servlet Filter that closes the Hibernate session at the end of the request. This is used in conjunction with the HibernateUtils class that stores the Hibernate session in ThreadLocal storage. An example of this

Re: Struts and Hibernate lazy

2005-08-10 Thread Konrad Billewicz
Gareth Evans gareth.evans at msoft.co.uk writes: http://www.javalobby.org/java/forums/t20533.html While ago other kind person gave mi a link to the Hibernate web site and I solved my problem. I'll read this article later. Thank you for it. Best regards, Konrad Billewicz

Re: [OT]: Struts and Hibernate lazy

2005-08-10 Thread David Durham
Konrad Billewicz wrote: Lindholm, Greg glindholm at neom.com writes: What I do is use a Hibernate Servlet Filter that closes the Hibernate session at the end of the request. This is used in conjunction with the HibernateUtils class that stores the Hibernate session in ThreadLocal storage.

Struts and Hibernate lazy

2005-08-09 Thread Konrad Billewicz
Hello, I am using Hibernate in my Struts project. A have a problem with Hibernate lazy option. When I am setting it to true, I get an error in my JSPs: org.apache.jasper.JasperException: could not initialize proxy - the owning Session was closed Of course I know why this error occurs. I am

Re: Struts and Hibernate lazy

2005-08-09 Thread Nick Heudecker
The most common way to solve this problem is to use the Open Session In View pattern, which leaves the Hibernate session open until the JSP has finished rendering. Typically accomplished with a filter, there is also a Struts plugin to help with this pattern. Google for Open Session In View and

[OT]: Struts and Hibernate lazy

2005-08-09 Thread Lindholm, Greg
://www.hibernate.org/43.html) -Original Message- From: news [mailto:[EMAIL PROTECTED] On Behalf Of Konrad Billewicz Sent: Tuesday, August 09, 2005 10:11 AM To: user@struts.apache.org Subject: Struts and Hibernate lazy Hello, I am using Hibernate in my Struts project. A have a problem with Hibernate