Re: adding an Open EntityManager In View filter to my T5 app

2012-01-23 Thread Julien Martin
thanks Giulio

2012/1/23 Giulio Micali 

> I use the hibernate version, but it should be the same.
> Here my config(works with tapestry 5.1.0.5 and 5.2.6, i never tried the
> newest version):
>
>
>   Hibernate Session In View Filter
>
>
> org.springframework.orm.hibernate3.support.OpenSessionInViewFilter
>   
>
>   sessionFactory
>   mySessionFactory
>   
>   
>   flushMode
>   AUTO
>   
>   
>   singleSession
>   true
>   
>
>
>
>app
>
>
>  org.apache.tapestry5.spring.TapestrySpringFilter
>
>
>Hibernate Session In View Filter
>/*
>
>
> Hope that can be useful,
>
> Giulio
>


Re: adding an Open EntityManager In View filter to my T5 app

2012-01-23 Thread Giulio Micali
I use the hibernate version, but it should be the same.
Here my config(works with tapestry 5.1.0.5 and 5.2.6, i never tried the
newest version):


   Hibernate Session In View Filter

org.springframework.orm.hibernate3.support.OpenSessionInViewFilter
   

   sessionFactory
   mySessionFactory
   
   
   flushMode
   AUTO
   
   
   singleSession
   true
   



app

 org.apache.tapestry5.spring.TapestrySpringFilter


Hibernate Session In View Filter
/*


Hope that can be useful,

Giulio