On Thu, May 7, 2009 at 8:53 AM, Christian Helmbold
wrote:
>
> Thanks for your answer, James.
>
> I try to understand magic things. The missing peace in the puzzle was the
> difference between Hibernates openSession() and getCurrentSession(). More
> than one transaction within one session seems o
still open.
- Ursprüngliche Mail
> Von: James Carman
> An: users@wicket.apache.org
> Gesendet: Mittwoch, den 6. Mai 2009, 22:13:09 Uhr
> Betreff: Re: Lazy Open Session In View with AOP
>
> If you use the @Transactional annotation (or define your transactions
> in the
rs@wicket.apache.org
>> Gesendet: Mittwoch, den 6. Mai 2009, 20:34:27 Uhr
>> Betreff: Re: Lazy Open Session In View with AOP
>>
>> You can try using the filter, just set the singleSession property to false.
>
>
>
>
> -
gt; An: users@wicket.apache.org
> Gesendet: Mittwoch, den 6. Mai 2009, 20:34:27 Uhr
> Betreff: Re: Lazy Open Session In View with AOP
>
> You can try using the filter, just set the singleSession property to false.
-
33:44 Uhr
> Betreff: Re: Lazy Open Session In View with AOP
>
> spring has implemented itw own opensessioninview filter.,
> i dont' think that you have to crete your own
>
> Spring has a class like this which you can declare in your w
You can try using the filter, just set the singleSession property to false.
On Wed, May 6, 2009 at 2:29 PM, Christian Helmbold
wrote:
>
> Hello,
>
> I want to use the Open Session In View Pattern with Wicket, but I don't want
> to open a Hibernate Session for every request like the ServletFilte
spring has implemented itw own opensessioninview filter.,
i dont' think that you have to crete your own
Spring has a class like this which you can declare in your web.xml
OpenSessionInViewFilter
On Thu, May 7, 2009 at 2:29 AM, Christian Helmbold
wrote:
>
> Hello,
>
> I want to use the Open Sessi
Hello,
I want to use the Open Session In View Pattern with Wicket, but I don't want to
open a Hibernate Session for every request like the ServletFilter approach does.
I looked at the "lazy-loading Open Session in View" for JPA implementation from
Wille Faler.
http://faler.wordpress.com/2009/