Mario,

Thanks for that response to my question about that "Session is closed!" error when trying to use HibernatePersistenceContextFactory (HPCF).

I made my simple test app work by stripping out all the JPA stuff I had, both in the code and the applicationContext.xml, and then using Spring to inject the DAO with a LocalSessionFactoryBean. Is that the right way to approach it? (Or is that a naive solution, with lurking problems?)

Now I've started looking at making my test app work with Hibernate 2. Right away I noticed that there's no SessionHolder in Spring's Hibernate 3 support. I see some things further down that may be a problem, too, but my understanding of the machinery is tenuous at best.

Can Orchestra be made to work with Hibernate 2? ('Sorry to ask this having done so little homework on it...)

William Mitchell
Mitchell Software Engineering

Reply via email to