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
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 manually easily. You just need to keep your session open longer. Have a google for things like open session in view filter. - Original messa