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
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
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
:
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
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
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
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
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 (
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
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
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
11 matches
Mail list logo