RE: Open session in view (JPA, struts2, Spring 3, Hibernate4)

2012-08-20 Thread Martin Gainty
l peuvent facilement être sujets à la manipulation, nous ne pouvons accepter aucune responsabilité pour le contenu fourni. > Date: Mon, 20 Aug 2012 14:02:36 +0200 > Subject: Re: Open session in view (JPA, struts2, Spring 3, Hibernate4) > From: lukaszlen...@apache.org > To:

Re: Open session in view (JPA, struts2, Spring 3, Hibernate4)

2012-08-20 Thread Lukasz Lenart
2012/8/9 Mounir Benzid : > sorry for the late response. web.xml ---> http://pastebin.com/XPiQ3ZJB > > I guess the problem might be that the transaction boundary starts and ends > within the controller class I wrote to manage entities. The action itself > doesn't participate in the transaction. If m

RE: Open session in view (JPA, struts2, Spring 3, Hibernate4)

2012-08-09 Thread Martin Gainty
ntenu fourni. > Date: Thu, 9 Aug 2012 09:20:30 +0200 > From: m...@meetingmasters.de > To: user@struts.apache.org > Subject: Re: Open session in view (JPA, struts2, Spring 3, Hibernate4) > > Am 7/26/2012 4:39 PM, schrieb Maurizio Cucchiara: > > Did you try to

Re: Open session in view (JPA, struts2, Spring 3, Hibernate4)

2012-08-09 Thread Mounir Benzid
Am 7/26/2012 4:39 PM, schrieb Maurizio Cucchiara: Did you try to extend the url mapping to the whole root? f.e.: /* Twitter :http://www.twitter.com/m_cucchiara G+ :https://plus.google.com/107903711540963855921 Linkedin:http://www.linkedin.com/in/mauriziocucchiara Maurizio Cu

Re: Open session in view (JPA, struts2, Spring 3, Hibernate4)

2012-07-26 Thread Maurizio Cucchiara
Did you try to extend the url mapping to the whole root? f.e.: /* Twitter :http://www.twitter.com/m_cucchiara G+ :https://plus.google.com/107903711540963855921 Linkedin:http://www.linkedin.com/in/mauriziocucchiara Maurizio Cucchiara On 26 July 2012 15:36, Łukasz Lenart wrot

Re: Open session in view (JPA, struts2, Spring 3, Hibernate4)

2012-07-26 Thread Łukasz Lenart
Could you show the whole web.xml ? Regards -- Łukasz mobile +48 606 323 122 http://www.lenart.org.pl/ Warszawa JUG conference - Confitura http://confitura.pl/ - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For add

Open session in view (JPA, struts2, Spring 3, Hibernate4)

2012-07-26 Thread Mounir Benzid
Because of a "limitation" (which is rather a bug) of Hibernate 4, I need to switch to an open-session-in-view pattern in struts2 I was hoping that setting the right spring configuration in my web.xml would do the trick (see below) The session still dies before the view layer (ognl) has any c