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
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
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
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