Re: Hibernate headache with struts 2

2007-05-19 Thread Martin Gainty
AIL PROTECTED]> To: "Struts Users Mailing List" Sent: Saturday, May 19, 2007 11:42 AM Subject: Re: Hibernate headache with struts 2 Looks like you are trying to access Hibernate managed objects or perform session manipultion in your view. Spring makes this easier but you can do it

[OT] Re: Hibernate headache with struts 2

2007-05-19 Thread Dave Newton
--- Mansour <[EMAIL PROTECTED]> wrote: > Is this a struts 2 issue? No. It's a very basic Hibernate issue. http://www.hibernate.org/hib_docs/v3/reference/en/html/transactions.html > every thing suggest using spring. This is not an > option for me. Why not? Aren't you already using it or a simil

Re: Hibernate headache with struts 2

2007-05-19 Thread Martin Gilday
message - From: "Mansour" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" Date: Sat, 19 May 2007 12:36:51 -0300 Subject: Hibernate headache with struts 2 I am trying to use hibernate with my struts project. The problem I keep on getting : java

Hibernate headache with struts 2

2007-05-19 Thread Mansour
I am trying to use hibernate with my struts project. The problem I keep on getting : javax.servlet.ServletException: org.hibernate.SessionException: Session is closed! org.apache.struts2.dispatcher.Dispatcher.serviceAction(Dispatcher.java:518) org.apache.struts2.dispatcher.Fi