I found this blog post (and the rest of the series) very helpful:
https://www.42lines.net/2011/11/21/adding-jpahibernate-into-the-cdi-and-wicket-mix/

Or maybe try to use an EXTENDED EntityManager in your project to keep entities 
managed and get rid of LazyLoadException.


Am 23.02.2013 um 19:22 schrieb Cedric Gatay <gata...@gmail.com>:

> I think you need to carefully understand how the Hibernate Session works.
> This exception usually occurs when you try to access an object that has not
> been loaded from your database in your components but the session is
> already closed.
> 
> Regards,
> 
> __
> Cedric Gatay
> http://www.bloggure.info | http://cedric.gatay.fr |
> @Cedric_Gatay<http://twitter.com/Cedric_Gatay>
> 
> 
> On Sat, Feb 23, 2013 at 5:48 PM, Evgheni Emelianov <e.emelia...@gmx.net>wrote:
> 
>> Hi there, i am looking for a got way to get rid of my LazyLoadException in
>> my Project, I'm using javaee 6 with hibernate 4.1.1 and
>> wicketstuff-javaee-inject and don't know which is the best way to solve it?
>> some good links or examples would help.
>> 
>> 
>> Evgheni
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
>> For additional commands, e-mail: users-h...@wicket.apache.org
>> 
>> 

Reply via email to