Re: CORRECT portlet+spring+hibernate configuration (Two options, what's right?)

2009-09-12 Thread Gonzalo Aguilar Delgado
Hi again! I'm really lost on this toppic. It seems to not work. First of all. Can someone post a complete configuration of a wicket portlet + spring, please? I found several ways to do it but none seems to be correct. Thank you. El mar, 18-08-2009 a las 09:53 +0200, nino martinez wael

Re: CORRECT portlet+spring+hibernate configuration (Two options, what's right?)

2009-09-12 Thread Gonzalo Aguilar Delgado
Hi again! I'm really lost on this toppic. It seems to not work. First of all. Can someone post a complete configuration of a wicket portlet + spring, please? I found several ways to do it but none seems to be correct. Thank you. El mar, 18-08-2009 a las 09:53 +0200, nino martinez wael

Re: CORRECT portlet+spring+hibernate configuration (Two options, what's right?)

2009-08-18 Thread nino martinez wael
Happy to help, please see further answers below. 2009/8/17 Gonzalo Aguilar Delgado g...@aguilardelgado.com: I have several suggestions. The order of the web filters are important. You could also try with with the wicket spring managed apps, im not sure how that applies. Will check. I

Re: CORRECT portlet+spring+hibernate configuration (Two options, what's right?)

2009-08-17 Thread Gonzalo Aguilar Delgado
: Errors like those are caused when the hibernate session is closed too soon. https://www.hibernate.org/43.html Russ Subject: Re: CORRECT portlet+spring+hibernate configuration (Two options, what's right?) From: g...@aguilardelgado.com To: users@wicket.apache.org Date: Fri, 14 Aug

Re: CORRECT portlet+spring+hibernate configuration (Two options, what's right?)

2009-08-17 Thread nino martinez wael
AFAIK detachable models. 2009/8/14 Russell Simpkins russellsimpk...@hotmail.com: Errors like those are caused when the hibernate session is closed too soon. https://www.hibernate.org/43.html Russ Subject: Re: CORRECT portlet+spring+hibernate configuration (Two options, what's right

Re: CORRECT portlet+spring+hibernate configuration (Two options, what's right?)

2009-08-17 Thread Gonzalo Aguilar Delgado
Ok. Maybe I don't understand... Let me show the situation. I have Spring + portlet + hibernate config with transactions working with the current configuration: I have my DAO objects under package com.level2crm.hibernate.enterprise.dao.contact And model under com.level2crm.model I configured one

Re: CORRECT portlet+spring+hibernate configuration (Two options, what's right?)

2009-08-17 Thread nino martinez wael
Hmm I have several suggestions. The order of the web filters are important. You could also try with with the wicket spring managed apps, im not sure how that applies. And are you sure that your filter ( /hibernate/*), get's hit? What's your wicket filter url, the same or? 2009/8/17 Gonzalo

Re: CORRECT portlet+spring+hibernate configuration (Two options, what's right?)

2009-08-17 Thread Gonzalo Aguilar Delgado
I have several suggestions. The order of the web filters are important. You could also try with with the wicket spring managed apps, im not sure how that applies. Will check. I didn't know about filter order... Will also check it. Thanks! And are you sure that your filter (

Re: CORRECT portlet+spring+hibernate configuration (Two options, what's right?)

2009-08-14 Thread Gonzalo Aguilar Delgado
About the error I mentioned the exception it throws is: Caused by: org.hibernate.LazyInitializationException: failed to lazily initialize a collection of role: com.level2crm.hibernate.generated.User.contactBasicDetails, no session or session was closed at

RE: CORRECT portlet+spring+hibernate configuration (Two options, what's right?)

2009-08-14 Thread Russell Simpkins
Errors like those are caused when the hibernate session is closed too soon. https://www.hibernate.org/43.html Russ Subject: Re: CORRECT portlet+spring+hibernate configuration (Two options, what's right?) From: g...@aguilardelgado.com To: users@wicket.apache.org Date: Fri, 14 Aug 2009 11:01

Re: CORRECT portlet+spring+hibernate configuration (Two options, what's right?)

2009-08-14 Thread nino martinez wael
portlet+spring+hibernate configuration (Two options, what's right?) From: g...@aguilardelgado.com To: users@wicket.apache.org Date: Fri, 14 Aug 2009 11:01:05 +0200 About the error I mentioned the exception it throws is: Caused by: org.hibernate.LazyInitializationException: failed to lazily