Re: Problems with Tapestry-Spring-Hibenrnate

2010-12-05 Thread Jonathan Barker
I find I seldom need to have the SessionFactory exposed because most of my transaction stuff is managed in Spring. I've moved a couple of services out of Tapestry into Spring to do that as well. However, I've also cheated before by exposing the SessionFactory in a DAO when I just needed to "get it

Re: Problems with Tapestry-Spring-Hibenrnate

2010-12-05 Thread tapestry
Thank you very much Jonathan, It looks like you're using tapestry-hibernate as well as tapestry-spring. I've done a bunch of 2+ database stuff using tapestry-spring + hibernate, and I've done single-db stuff using tapestry-hibernate, but I've never mixed hibernate configuration methods. Neith

Re: Problems with Tapestry-Spring-Hibenrnate

2010-12-04 Thread Jonathan Barker
It looks like you're using tapestry-hibernate as well as tapestry-spring. I've done a bunch of 2+ database stuff using tapestry-spring + hibernate, and I've done single-db stuff using tapestry-hibernate, but I've never mixed hibernate configuration methods. Get rid of tapestry-hibernate. Your ba

Problems with Tapestry-Spring-Hibenrnate

2010-12-04 Thread tapestry
Hi! I am wanting to connect to two databases. In the past I've written Tapestry apps with just one DB and Spring and Hibernate - no problems. I see that (currently) there is no way to connect to multiple DBs with just tapestry-hibernate (although I read on the list archive that there is a