Hi all,
I’m currently write an application which use Spring + Hibernate + vaadin. Currently we are using the container managed transactions (via HibernateTransactionManager and @Transactional annotation). This worked fine before but now with vaadin I wonder how I would handle the Transaction stuff.
From the wiki I see that it suggest to addTransactionListener to vaadin to handle this. I wonder if this will also allow me to use lazy feetching in hibernate too. And how would I bind a new Session to the Thread with this setup ? I’m right to think that I have to roll my own binding Code, because I can’t use the Container Transaction stuff ?
Thx,
Norman
Ps: I had a look at OpenSessionInView filter which is included in Spring but it seems that this will not work with vaadin because of its Statefulness.